]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.excel/native/SimanticsExcel.cpp
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.excel / native / SimanticsExcel.cpp
1 // SimanticsExcel.cpp : Defines the initialization routines for the DLL.\r
2 //\r
3 \r
4 //#include "stdafx.h"\r
5 \r
6 #include "SimanticsExcel.h"\r
7 \r
8 #ifdef _DEBUG\r
9 #define new DEBUG_NEW\r
10 #endif\r
11 \r
12 //\r
13 //TODO: If this DLL is dynamically linked against the MFC DLLs,\r
14 //              any functions exported from this DLL which call into\r
15 //              MFC must have the AFX_MANAGE_STATE macro added at the\r
16 //              very beginning of the function.\r
17 //\r
18 //              For example:\r
19 //\r
20 //              extern "C" BOOL PASCAL EXPORT ExportedFunction()\r
21 //              {\r
22 //                      AFX_MANAGE_STATE(AfxGetStaticModuleState());\r
23 //                      // normal function body here\r
24 //              }\r
25 //\r
26 //              It is very important that this macro appear in each\r
27 //              function, prior to any calls into MFC.  This means that\r
28 //              it must appear as the first statement within the \r
29 //              function, even before any object variable declarations\r
30 //              as their constructors may generate calls into the MFC\r
31 //              DLL.\r
32 //\r
33 //              Please see MFC Technical Notes 33 and 58 for additional\r
34 //              details.\r
35 //\r
36 \r
37 // CSimanticsExcelApp\r
38 \r
39 //BEGIN_MESSAGE_MAP(CSimanticsExcelApp, CWinApp)\r
40 //END_MESSAGE_MAP()\r
41 \r
42 \r
43 // CSimanticsExcelApp construction\r
44 /*\r
45 CSimanticsExcelApp::CSimanticsExcelApp()\r
46 {\r
47         // TODO: add construction code here,\r
48         // Place all significant initialization in InitInstance\r
49 }\r
50 \r
51 \r
52 // The one and only CSimanticsExcelApp object\r
53 \r
54 CSimanticsExcelApp theApp;\r
55 \r
56 \r
57 // CSimanticsExcelApp initialization\r
58 \r
59 \r
60 BOOL CSimanticsExcelApp::InitInstance()\r
61 {\r
62         CWinApp::InitInstance();\r
63 \r
64         return TRUE;\r
65 }\r
66 */\r