X-Git-Url: https://git.ucc.asn.au/?p=matches%2Fhonours.git;a=blobdiff_plain;f=research%2Ftransmission_spectroscopy%2FTOF%2FWin32%2B%2B%2Fsamples%2FTabDemo%2Fsrc%2Fmain.cpp;fp=research%2Ftransmission_spectroscopy%2FTOF%2FWin32%2B%2B%2Fsamples%2FTabDemo%2Fsrc%2Fmain.cpp;h=720f590fca4e78c21f1a4ff0854abb55051bf765;hp=0000000000000000000000000000000000000000;hb=70a96cca12cb006506461d26cd112bab179fe74c;hpb=8caf60af39689a3546074f0c68d14c3a2e28191e 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 index 00000000..720f590f --- /dev/null +++ b/research/transmission_spectroscopy/TOF/Win32++/samples/TabDemo/src/main.cpp @@ -0,0 +1,26 @@ +/////////////////////////////////////// +// main.cpp + +#include "stdafx.h" +#include "TabDemoApp.h" + + +int APIENTRY WinMain(HINSTANCE, HINSTANCE, LPSTR, int) +{ + try + { + // Start Win32++ + CTabDemoApp theApp; + + // Run the application + return theApp.Run(); + } + + // catch all exceptions inherited from std::exception + catch (std::exception &e) + { + // Process the exception and quit + e.what(); + return -1; + } +}