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