#include #include #include "SRReaderApp.h" #include "resource.h" int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { SRReaderApp app(hInstance); HCURSOR hOldCursor = SetCursor(LoadCursor(NULL, IDC_WAIT)); if (!app.InitApp(nCmdShow)) return FALSE; // Either it failed, or it's already loaded... SetCursor(hOldCursor); app.RefreshWindows(); return app.Run(); }