1 // cximagemfcdll.cpp : Defines the initialization routines for the DLL.
\r
5 #include "cximagemfcdll.h"
\r
8 #define new DEBUG_NEW
\r
10 static char THIS_FILE[] = __FILE__;
\r
16 // If this DLL is dynamically linked against the MFC
\r
17 // DLLs, any functions exported from this DLL which
\r
18 // call into MFC must have the AFX_MANAGE_STATE macro
\r
19 // added at the very beginning of the function.
\r
23 // extern "C" BOOL PASCAL EXPORT ExportedFunction()
\r
25 // AFX_MANAGE_STATE(AfxGetStaticModuleState());
\r
26 // // normal function body here
\r
29 // It is very important that this macro appear in each
\r
30 // function, prior to any calls into MFC. This means that
\r
31 // it must appear as the first statement within the
\r
32 // function, even before any object variable declarations
\r
33 // as their constructors may generate calls into the MFC
\r
36 // Please see MFC Technical Notes 33 and 58 for additional
\r
40 /////////////////////////////////////////////////////////////////////////////
\r
41 // CcximagemfcdllApp
\r
43 BEGIN_MESSAGE_MAP(CcximagemfcdllApp, CWinApp)
\r
44 //{{AFX_MSG_MAP(CcximagemfcdllApp)
\r
45 // NOTE - the ClassWizard will add and remove mapping macros here.
\r
46 // DO NOT EDIT what you see in these blocks of generated code!
\r
50 /////////////////////////////////////////////////////////////////////////////
\r
51 // CcximagemfcdllApp construction
\r
53 CcximagemfcdllApp::CcximagemfcdllApp()
\r
55 // TODO: add construction code here,
\r
56 // Place all significant initialization in InitInstance
\r
59 /////////////////////////////////////////////////////////////////////////////
\r
60 // The one and only CcximagemfcdllApp object
\r
62 CcximagemfcdllApp theApp;
\r