error compiling c++ code

Started by
2 comments, last by GameDev.net 24 years, 4 months ago
Change the kind of workspace into a win32 one.

------------------
Dance with me......

http://members.xoom.com/CJdeVos/index.htm

Advertisement
Make sure the target platform is Win32 GUI, not console, this can be changed on the Target Expert or when you create a new project. In case you don't know how to get to the Target Expert, right click on the source code window and it'll be on the popup menu. Hope this helps =)
Chris
hey, i'll bet this question's been asked before, but when i try to compile some windows code, even the example code, using borland c++ 5.02 it gives this error:
unresolved external '_main' referenced from C:\BC5\LIB\COX32.OBJ
what setting can i change to fix this?
thanks
Thanks alot, it was the GUI part that was wrong. Merry Christmas!

This topic is closed to new replies.

Advertisement