X-Git-Url: https://git.ucc.asn.au/?p=matches%2Fhonours.git;a=blobdiff_plain;f=research%2Ftransmission_spectroscopy%2FTOF%2FWin32%2B%2B%2Fsamples%2FThemes%2Fsrc%2Fmain.cpp;fp=research%2Ftransmission_spectroscopy%2FTOF%2FWin32%2B%2B%2Fsamples%2FThemes%2Fsrc%2Fmain.cpp;h=c2c58bd7a9ac64418adc64881e823a1945f8604d;hp=0000000000000000000000000000000000000000;hb=70a96cca12cb006506461d26cd112bab179fe74c;hpb=8caf60af39689a3546074f0c68d14c3a2e28191e diff --git a/research/transmission_spectroscopy/TOF/Win32++/samples/Themes/src/main.cpp b/research/transmission_spectroscopy/TOF/Win32++/samples/Themes/src/main.cpp new file mode 100644 index 00000000..c2c58bd7 --- /dev/null +++ b/research/transmission_spectroscopy/TOF/Win32++/samples/Themes/src/main.cpp @@ -0,0 +1,27 @@ +/////////////////////////////////////// +// main.cpp + +#include "stdafx.h" +#include "ThemesApp.h" + + +int APIENTRY WinMain(HINSTANCE, HINSTANCE, LPSTR, int) +{ + try + { + // Start Win32++ + CThemesApp 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; + } +} +