Hi! I am just getting back into Windows programming, and my code compiles fine, but I am having linker trouble. The code I used to create my basic Window was taken EXACTLY from this site: http://winprog.org/tutorial/
The code is supposed to make a basic window (lesson 2), and it compiles perfectly, but I am having a bit of trouble with the linking process. I am compiling with the free Borland Command Line Tools, and I get the following LINKER error:
Error: Unresolved external 'WinMain' referenced from C:\BORLAND\BCC32\LIB\C0W32.OBJ
I would appreciate an suggestions you could possibly make about this. I am rather frustrated, because I have no idea whatsoever as to how to fix a linker error.
Not very familiar with Borland's tools, but did you try specifying -tW?
Yes, I compiled it correctly. That is one of the main reasons I am so confused. The code works just fine, and I passed the command line arguments to the compiler correctly, it just keeps giving me that linker error,
Thanks for your reply! ^_^