C/C++ >> Heeeellllppp!!!!!
Posted by dxprog on 06:32:00 11-17-2002
Okay here's the deal. When I try to compile a Windows program, anything using windows.h, I get an error that says "unresolved external <module> symbol _main". It has happened with every compiler I've used (VC++, Borland free comiler, LCC), save my 16-bit one. It's driving me mad and I would like to know if there is some way to fix the problem. Thanks!

_________________
When I got VB, i could have flown without thrusters and shot down TIE Interceptors just by spitting at them.

[ This Message was edited by: dxprog on 2002-11-17 06:32 ]
Posted by dxprog on 10:36:00 11-17-2002
Never mind. Stupid error on my part. [addsig]
Posted by KaGez on 12:03:00 11-17-2002
isn't it enough to link against those windows libraries? just a guess
[addsig]
Posted by dxprog on 23:41:00 11-17-2002
Huh? My problem was two things: 1. I had a couple of typos in my code and 2: I forgot to tell the compiler that it was a indows app. [addsig]
Posted by KaGez on 15:58:00 11-18-2002
lol. btw, good that you at least posted the reasons maybe others had the same problem (or will have later)
[addsig]
Posted by dxprog on 00:06:00 11-19-2002
Yeah, learn from my idiotic mistakes. [addsig]
Posted by rukna on 02:00:00 06-04-2003
The Error in vc++ is due to use of a functions that is not in there any included library files.
Posted by sun_vivek on 23:45:00 06-07-2003
may be u should check for ur library files i guess some of the files can be missing