Commit before breaking everything
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / TabDemo / src / main.cpp
diff --git a/research/transmission_spectroscopy/TOF/Win32++/samples/TabDemo/src/main.cpp b/research/transmission_spectroscopy/TOF/Win32++/samples/TabDemo/src/main.cpp
new file mode 100644 (file)
index 0000000..720f590
--- /dev/null
@@ -0,0 +1,26 @@
+///////////////////////////////////////\r
+// main.cpp\r
+\r
+#include "stdafx.h"\r
+#include "TabDemoApp.h"\r
+\r
+\r
+int APIENTRY WinMain(HINSTANCE, HINSTANCE, LPSTR, int)\r
+{\r
+       try\r
+       {\r
+               // Start Win32++\r
+               CTabDemoApp theApp;\r
+\r
+               // Run the application\r
+               return theApp.Run();\r
+       }\r
+       \r
+       // catch all exceptions inherited from std::exception\r
+       catch (std::exception &e)\r
+       {\r
+               // Process the exception and quit \r
+               e.what();\r
+               return -1;\r
+       }\r
+}\r

UCC git Repository :: git.ucc.asn.au