]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.excel/native/SimanticsExcel.cpp
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.excel / native / SimanticsExcel.cpp
diff --git a/bundles/org.simantics.excel/native/SimanticsExcel.cpp b/bundles/org.simantics.excel/native/SimanticsExcel.cpp
new file mode 100644 (file)
index 0000000..1630ce8
--- /dev/null
@@ -0,0 +1,66 @@
+// SimanticsExcel.cpp : Defines the initialization routines for the DLL.\r
+//\r
+\r
+//#include "stdafx.h"\r
+\r
+#include "SimanticsExcel.h"\r
+\r
+#ifdef _DEBUG\r
+#define new DEBUG_NEW\r
+#endif\r
+\r
+//\r
+//TODO: If this DLL is dynamically linked against the MFC DLLs,\r
+//             any functions exported from this DLL which call into\r
+//             MFC must have the AFX_MANAGE_STATE macro added at the\r
+//             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
+// CSimanticsExcelApp\r
+\r
+//BEGIN_MESSAGE_MAP(CSimanticsExcelApp, CWinApp)\r
+//END_MESSAGE_MAP()\r
+\r
+\r
+// CSimanticsExcelApp construction\r
+/*\r
+CSimanticsExcelApp::CSimanticsExcelApp()\r
+{\r
+       // TODO: add construction code here,\r
+       // Place all significant initialization in InitInstance\r
+}\r
+\r
+\r
+// The one and only CSimanticsExcelApp object\r
+\r
+CSimanticsExcelApp theApp;\r
+\r
+\r
+// CSimanticsExcelApp initialization\r
+\r
+\r
+BOOL CSimanticsExcelApp::InitInstance()\r
+{\r
+       CWinApp::InitInstance();\r
+\r
+       return TRUE;\r
+}\r
+*/\r