Problems with code from a book.

Started by
0 comments, last by Baked 19 years, 10 months ago
I got the book tittled "game programming in 24 hours". The first chapter is called Windows Primer where it teachers you about making a windows program. This is where the problems arises...I get the code from the cd and compile it but an error comes up... Compiling resources... Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/Skeleton.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. I opened the workspace from the folder so i assume it has it in win32.. Any suggestions would be nice. Thanks.
Advertisement
In VC++ when you create a project, you are setting it as a console project, when it needs to be a win32 application.

You''re getting that error because VC++ thinks you are making a console application, but cant find main() anywhere.
---------------------Ryan Bujnowicz[ vangelis ]

This topic is closed to new replies.

Advertisement