Advertisement
Guest User

Untitled

a guest
Nov 6th, 2011
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.54 KB | None | 0 0
  1. #include <Windows.h>
  2.  
  3. #include "GUIMain.h"
  4.  
  5. #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
  6.  
  7. int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
  8. {
  9.     GUIMain * mainWindow = new GUIMain(hInstance);
  10.  
  11.     mainWindow->Register();
  12.     if (!mainWindow->Create())
  13.         return 666;
  14.     WPARAM ret = mainWindow->Show(nCmdShow);
  15.  
  16.     delete mainWindow;
  17.     return ret;
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement