示例#1
0
文件: main.cpp 项目: pthiben/Helium
INT WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
{
    // Start Win32++
    CMDIFrameApp MyApp;

    // Run the application
    return MyApp.Run();
}
示例#2
0
文件: main.cpp 项目: quinsmpang/Tools
int APIENTRY WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
    try
    {
        // Start Win32++
        CMDIFrameApp 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;
    }
}