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

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