]> Creatis software - clitk.git/blobdiff - utilities/CxImage/CxImageDLL/CxImageMfcDll.cpp
Merge branch 'master' into GammaIndex3D
[clitk.git] / utilities / CxImage / CxImageDLL / CxImageMfcDll.cpp
index ff4e12ebc78945aa74154ac6260582d1db75758d..092514b5d02e6681bd6e6088a78a2c980d62a9f5 100644 (file)
@@ -1,62 +1,62 @@
-// cximagemfcdll.cpp : Defines the initialization routines for the DLL.\r
-//\r
-\r
-#include "stdafx.h"\r
-#include "cximagemfcdll.h"\r
-\r
-#ifdef _DEBUG\r
-#define new DEBUG_NEW\r
-#undef THIS_FILE\r
-static char THIS_FILE[] = __FILE__;\r
-#endif\r
-\r
-//\r
-//     Note!\r
-//\r
-//             If this DLL is dynamically linked against the MFC\r
-//             DLLs, any functions exported from this DLL which\r
-//             call into MFC must have the AFX_MANAGE_STATE macro\r
-//             added at the very beginning of the function.\r
-//\r
-//             For example:\r
-//\r
-//             extern "C" BOOL PASCAL EXPORT ExportedFunction()\r
-//             {\r
-//                     AFX_MANAGE_STATE(AfxGetStaticModuleState());\r
-//                     // normal function body here\r
-//             }\r
-//\r
-//             It is very important that this macro appear in each\r
-//             function, prior to any calls into MFC.  This means that\r
-//             it must appear as the first statement within the \r
-//             function, even before any object variable declarations\r
-//             as their constructors may generate calls into the MFC\r
-//             DLL.\r
-//\r
-//             Please see MFC Technical Notes 33 and 58 for additional\r
-//             details.\r
-//\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// CcximagemfcdllApp\r
-\r
-BEGIN_MESSAGE_MAP(CcximagemfcdllApp, CWinApp)\r
-       //{{AFX_MSG_MAP(CcximagemfcdllApp)\r
-               // NOTE - the ClassWizard will add and remove mapping macros here.\r
-               //    DO NOT EDIT what you see in these blocks of generated code!\r
-       //}}AFX_MSG_MAP\r
-END_MESSAGE_MAP()\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// CcximagemfcdllApp construction\r
-\r
-CcximagemfcdllApp::CcximagemfcdllApp()\r
-{\r
-       // TODO: add construction code here,\r
-       // Place all significant initialization in InitInstance\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// The one and only CcximagemfcdllApp object\r
-\r
-CcximagemfcdllApp theApp;\r
+// 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;