Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Windows.h>
- #include "GUIMain.h"
- #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
- int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
- {
- GUIMain * mainWindow = new GUIMain(hInstance);
- mainWindow->Register();
- if (!mainWindow->Create())
- return 666;
- WPARAM ret = mainWindow->Show(nCmdShow);
- delete mainWindow;
- return ret;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement