View Single Post
  #9 (permalink)  
Old 07-20-2008, 09:53 PM
dargueta dargueta is offline
Guru
 
Join Date: Oct 2007
Age: 18
Posts: 862
Last Blog:
Programs Under the Hoo...
Credits: 0
Rep Power: 13
dargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the rough
Default Re: Making a launcher and languale selector for Monkey Island

To make a Win32 application, you can copy and paste this code, then modify it to suit your needs. You may need to change your compiler settings.

Code:
#include <windows.h>
//other includes go here

INT WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, \
    LPSTR lpCmdLine, int nCmdShow)
{
    //put your main() code here. A window isn't created
    //unless you explicitly code one.

    return 0;  //or whatever other value you want
}
Win32 Programming Tutorial
Reply With Quote