2 * Portions Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
3 * Portions Copyright (C) 2001 Internet Software Consortium.
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
9 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 * PERFORMANCE OF THIS SOFTWARE.
18 /* Id: BINDInstall.cpp,v 1.9 2009/09/29 23:48:04 tbox Exp */
21 * Copyright (c) 1999-2000 by Nortel Networks Corporation
23 * Permission to use, copy, modify, and distribute this software for any
24 * purpose with or without fee is hereby granted, provided that the above
25 * copyright notice and this permission notice appear in all copies.
27 * THE SOFTWARE IS PROVIDED "AS IS" AND NORTEL NETWORKS DISCLAIMS
28 * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
29 * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NORTEL NETWORKS
30 * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
31 * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
32 * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
33 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
38 #include "BINDInstall.h"
39 #include "BINDInstallDlg.h"
44 static char THIS_FILE
[] = __FILE__
;
47 /////////////////////////////////////////////////////////////////////////////
50 BEGIN_MESSAGE_MAP(CBINDInstallApp
, CWinApp
)
51 //{{AFX_MSG_MAP(CBINDInstallApp)
52 // NOTE - the ClassWizard will add and remove mapping macros here.
53 // DO NOT EDIT what you see in these blocks of generated code!
55 ON_COMMAND(ID_HELP
, CWinApp::OnHelp
)
58 /////////////////////////////////////////////////////////////////////////////
59 // CBINDInstallApp construction
61 CBINDInstallApp::CBINDInstallApp()
63 // TODO: add construction code here,
64 // Place all significant initialization in InitInstance
67 /////////////////////////////////////////////////////////////////////////////
68 // The one and only CBINDInstallApp object
70 CBINDInstallApp theApp
;
72 /////////////////////////////////////////////////////////////////////////////
73 // CBINDInstallApp initialization
75 BOOL
CBINDInstallApp::InitInstance()
77 // Standard initialization
78 // If you are not using these features and wish to reduce the size
79 // of your final executable, you should remove from the following
80 // the specific initialization routines you do not need.
83 Enable3dControls(); // Call this when using MFC in a shared DLL
85 Enable3dControlsStatic(); // Call this when linking to MFC statically
91 INT_PTR nResponse
= dlg
.DoModal();
92 if (nResponse
== IDOK
)
94 // TODO: Place code here to handle when the dialog is
97 else if (nResponse
== IDCANCEL
)
99 // TODO: Place code here to handle when the dialog is
100 // dismissed with Cancel
103 // Since the dialog has been closed, return FALSE so that we exit the
104 // application, rather than start the application's message pump.