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