Ask Your Question

Revision history [back]

click to hide/show revision 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

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 )