J
Jrdman
i wrote this code :
#include<windows.h>
int APIENTRY WinMain(HINSTANCE hinstane,
HINSTANCE hpinstance,
LPSTR lpcmdline,
int cmdshow){
while(1)
;
}
and when i excute it,it gives me a console window like the ordinary
one that we get when we use main().so what's the difference between
main() and WinMain() in ths case?
#include<windows.h>
int APIENTRY WinMain(HINSTANCE hinstane,
HINSTANCE hpinstance,
LPSTR lpcmdline,
int cmdshow){
while(1)
;
}
and when i excute it,it gives me a console window like the ordinary
one that we get when we use main().so what's the difference between
main() and WinMain() in ths case?