X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=utilities%2FCxImage%2FCxImageDLL%2FCxImageMfcDll.cpp;h=092514b5d02e6681bd6e6088a78a2c980d62a9f5;hb=22aac696ea46e2e4f989d8893bcb978f63715aef;hp=ff4e12ebc78945aa74154ac6260582d1db75758d;hpb=19d5db17f1c0e98cf84a6cb83643404a550a12a4;p=clitk.git diff --git a/utilities/CxImage/CxImageDLL/CxImageMfcDll.cpp b/utilities/CxImage/CxImageDLL/CxImageMfcDll.cpp index ff4e12e..092514b 100644 --- a/utilities/CxImage/CxImageDLL/CxImageMfcDll.cpp +++ b/utilities/CxImage/CxImageDLL/CxImageMfcDll.cpp @@ -1,62 +1,62 @@ -// cximagemfcdll.cpp : Defines the initialization routines for the DLL. -// - -#include "stdafx.h" -#include "cximagemfcdll.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -// -// Note! -// -// If this DLL is dynamically linked against the MFC -// DLLs, any functions exported from this DLL which -// call into MFC must have the AFX_MANAGE_STATE macro -// added at the very beginning of the function. -// -// For example: -// -// extern "C" BOOL PASCAL EXPORT ExportedFunction() -// { -// AFX_MANAGE_STATE(AfxGetStaticModuleState()); -// // normal function body here -// } -// -// It is very important that this macro appear in each -// function, prior to any calls into MFC. This means that -// it must appear as the first statement within the -// function, even before any object variable declarations -// as their constructors may generate calls into the MFC -// DLL. -// -// Please see MFC Technical Notes 33 and 58 for additional -// details. -// - -///////////////////////////////////////////////////////////////////////////// -// CcximagemfcdllApp - -BEGIN_MESSAGE_MAP(CcximagemfcdllApp, CWinApp) - //{{AFX_MSG_MAP(CcximagemfcdllApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CcximagemfcdllApp construction - -CcximagemfcdllApp::CcximagemfcdllApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CcximagemfcdllApp object - -CcximagemfcdllApp theApp; +// cximagemfcdll.cpp : Defines the initialization routines for the DLL. +// + +#include "stdafx.h" +#include "cximagemfcdll.h" + +#ifdef _DEBUG +#define new DEBUG_NEW +#undef THIS_FILE +static char THIS_FILE[] = __FILE__; +#endif + +// +// Note! +// +// If this DLL is dynamically linked against the MFC +// DLLs, any functions exported from this DLL which +// call into MFC must have the AFX_MANAGE_STATE macro +// added at the very beginning of the function. +// +// For example: +// +// extern "C" BOOL PASCAL EXPORT ExportedFunction() +// { +// AFX_MANAGE_STATE(AfxGetStaticModuleState()); +// // normal function body here +// } +// +// It is very important that this macro appear in each +// function, prior to any calls into MFC. This means that +// it must appear as the first statement within the +// function, even before any object variable declarations +// as their constructors may generate calls into the MFC +// DLL. +// +// Please see MFC Technical Notes 33 and 58 for additional +// details. +// + +///////////////////////////////////////////////////////////////////////////// +// CcximagemfcdllApp + +BEGIN_MESSAGE_MAP(CcximagemfcdllApp, CWinApp) + //{{AFX_MSG_MAP(CcximagemfcdllApp) + // NOTE - the ClassWizard will add and remove mapping macros here. + // DO NOT EDIT what you see in these blocks of generated code! + //}}AFX_MSG_MAP +END_MESSAGE_MAP() + +///////////////////////////////////////////////////////////////////////////// +// CcximagemfcdllApp construction + +CcximagemfcdllApp::CcximagemfcdllApp() +{ + // TODO: add construction code here, + // Place all significant initialization in InitInstance +} + +///////////////////////////////////////////////////////////////////////////// +// The one and only CcximagemfcdllApp object + +CcximagemfcdllApp theApp;