-
1 Attachment(s)
Linking Error
While compiling a windows api I am constintaly getting a linking error in Microsoft Visual C++ 6.
Code:
--------------------Configuration: testing - Win32 Debug--------------------
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/testing.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
The code is right here:
-
Create a Win32 Application, not a Windows Console App.
-
I'm not sure if it makes much difference (in this case) but you might want to save it as a (.c) file, rather than the (.cpp) file