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
Printable View
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
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...
so whats the first thing i need to learn in win32 app
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...Quote:
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;
}
And as I told you in my post above, search the internet for some tutorials.