From: Jack on 11 Dec 2006 04:58 LIBCMTD.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup Hi, I forgot how to fix this. Could anyone please help me refresh my mind? Thanks
From: Ulrich Eckhardt on 11 Dec 2006 05:19 Jack wrote: > LIBCMTD.lib(crt0.obj) : error LNK2019: unresolved external symbol _main > referenced in function ___tmainCRTStartup > > Hi, > I forgot how to fix this. Could anyone please help me refresh my mind? > Thanks Provide a main() function like any normal C++ program? Otherwise, i.e. if you want to use WinMain(), you could try the /ENTRY parameter of the linker or just not use /SUBSYSTEM:CONSOLE. Uli
|
Pages: 1 Prev: CAppModule issues Next: Difference in isatty() between VC7 and VC8 |