Alright,
Problem #1: You''ve made a program. It contains a function called main(). You try to compile it and get a unresolved external WinMain().
Solution #1: You created a Windows 32 Application, a program that contains the main() function needs to be a console application.
Problem #2: You''ve made a program, it contains a function called WinMain(). You try to compile and get a unresolved external main().
Solution #2: You created a windows 32 console application. A program that constains the WinMain() function needs to be a Windows 32 application for it to compile.
The answer to your problem is listed above. DO NOT KEEP CREATING THE SAME PROJECT OVER & OVER AGAIN!. There are 2 project types you must be aware of Win32 Console Application and Win32 Application. These two projects are NOT THE SAME.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement