SHARE
TWEET

Untitled

a guest Nov 6th, 2011 58 Never
  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.  
RAW Paste Data
Top