1 | initial version |
you either want:
int WINAPI WinMain(HINSTANCE hinst, HINSTANCE previnst, LPSTR cmdline, int cmdshow)
instead of
int main()
or change your application type to SUBSYSTEM:CONSOLE
2 | No.2 Revision |
you either want:
int WINAPI WinMain(HINSTANCE hinst, HINSTANCE previnst, LPSTR cmdline, int cmdshow)
instead of
int main()
or change your application type to SUBSYSTEM:CONSOLE
( as a sidenote: your problem is as urgent as anyone else's here. "yelling" like this might even put some people off )