Merge branch 'master' of git.ucc.asn.au:/matches/honours
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / RibbonFrame / src / main.cpp
1 \r
2 #include "stdafx.h"\r
3 #include "RibbonApp.h"\r
4 \r
5 \r
6 int APIENTRY WinMain(HINSTANCE, HINSTANCE, LPSTR, int)\r
7 {\r
8         try\r
9         {\r
10                 // Start Win32++\r
11                 CRibbonFrameApp theApp;\r
12 \r
13                 // Run the application\r
14                 return theApp.Run();\r
15         }\r
16         \r
17         // catch all exceptions inherited from std::exception\r
18         catch (std::exception &e)\r
19         {\r
20                 // Process the exception and quit \r
21                 e.what();\r
22                 return -1;\r
23         }\r
24 }\r

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