Subj : Re: Unresolved external '_main' To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Mon Mar 28 2005 09:08 am Gedece wrote: >While trying to compile a demo SDL related C++ program >I'm getting this weird error >Error: Unresolved external '_main' referenced from C:\BCC55\LIB\C0X32.OBJ > >Any thoughts? I'm completely at loss, as I'm learning C++ and still >can't figure out some things. Does that code contain a WinMain() function? If so, you are compiling a Windows GUI program as if it were a DOS or Console application. Change the Target type in your compiler settings. .