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