Subj : Re: Unresolved external '_main' referenced from C:\BC5\LIB\C0X32.OBJ To : borland.public.cpp.borlandcpp From : "Vijay" Date : Thu Jul 24 2003 10:31 pm even if i write like this int main(int argc,char *argv[]) { return 0; } with out OWL? option still i am getting that error "Jeff Kish" wrote in message news:jalvhvgtucupvqakqlo9hgdi84tina7ci2@4ax.com... > On Thu, 24 Jul 2003 10:14:53 +0530, "Vijay" > wrote: > > >hi > >every body > >i am new babie to borland > >when run simple hellp world application > >with 5.2 version of borland with the fallowing settings > > > >target type :application :exe > >plat form :win 32 > >target model : console > >i enabled only dynamic and multi threaded options in frame work and > >library options > >this is my program > > > >int main(void) > >{ > > return 0; > > } > > > >when i build this i am getting Unresolved external '_main' referenced from > >C:\BC5\LIB\C0X32.OBJ error > > > >i need your help guys > >i am going mad???? > > > Are you using OWL? (i think it has its own main). If you are not... > I think main is supposed to have some parameters for command line, > etc, isn't it? > HTH > Jeff Kish .