Thread: win32 and consele app.

  1. #1
    Neoseeker's master master2000's Avatar
    Join Date
    Dec 2002
    Posts
    101

    win32 and consele app.

    whats the diffrense from consele app. and win32 app. i could use a few pointers sence i want to start win 32

    and what is up with 32 in win32
    missles on metriods

  2. #2
    Just a Member ammar's Avatar
    Join Date
    Jun 2002
    Posts
    953
    The difference is that win32 applications, can have windows, buttons, graphics, etc...
    I think you know console applications already...
    You can search the internet for some tutorials...
    none...

  3. #3
    Neoseeker's master master2000's Avatar
    Join Date
    Dec 2002
    Posts
    101
    so whats the first thing i need to learn in win32 app
    missles on metriods

  4. #4
    Registered User abrege's Avatar
    Join Date
    Nov 2002
    Posts
    369
    Start with a hello world message box?

    Code:
    #include <windows.h>
    
    int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
    {
    	MessageBox(NULL, "Hello World!", "Message Box", MB_OK);
    
    	return 0;
    }
    Last edited by abrege; 12-22-2002 at 09:40 AM.
    I am against the teaching of evolution in schools. I am also against widespread
    literacy and the refrigeration of food.

  5. #5
    Just a Member ammar's Avatar
    Join Date
    Jun 2002
    Posts
    953
    Originally posted by abrege
    Start with a hello world message box?

    Code:
    #include <windows.h>
    
    int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
    {
    	MessageBox(NULL, "Hello World!", "Message Box", MB_OK);
    
    	return 0;
    }
    That's a good idea, you can also learn what a message loops is, and what is a window class, etc...
    And as I told you in my post above, search the internet for some tutorials.
    none...

  6. #6
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753

Popular pages Recent additions subscribe to a feed