Click here to Skip to main content
15,908,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How do I fix this? Pin
l a u r e n8-Oct-02 13:42
l a u r e n8-Oct-02 13:42 
AnswerRe: How do I fix this? Pin
Roger Allen9-Oct-02 1:56
Roger Allen9-Oct-02 1:56 
Generalgreat! Thanks! Pin
ns9-Oct-02 2:53
ns9-Oct-02 2:53 
GeneralControl Panel Pin
Anonymous8-Oct-02 7:14
Anonymous8-Oct-02 7:14 
GeneralRe: Control Panel Pin
Michael P Butler8-Oct-02 7:56
Michael P Butler8-Oct-02 7:56 
GeneralRe: Control Panel Pin
Anonymous8-Oct-02 10:19
Anonymous8-Oct-02 10:19 
GeneralRe: Control Panel Pin
Michael P Butler8-Oct-02 12:50
Michael P Butler8-Oct-02 12:50 
GeneralLink problem Pin
algruber8-Oct-02 6:41
algruber8-Oct-02 6:41 
Hi,
I'm trying to compile a game from a textbook, and I get this link error:
libcd.lib(crt0.obj) : error LNK2001: unresolved external symbol _main

This is supposed to mean that the VC-6.0 file libcd.lib erroneously uses the symbol _main which of course seems extremely unlikely.
If I compile a Release version I get the same error but now against libc.lib.

I'm using VC 6.0 under Windows 98. The program uses directX and I put the proper libraries on the link list. Also, I copied in the author's code, so it's not a typo.
I think I must have some compiler/linker setting wrong. Any ideas?
Al

GeneralRe: Link problem Pin
Paul M Watt8-Oct-02 7:11
mentorPaul M Watt8-Oct-02 7:11 
GeneralRe: Link problem Pin
JT Anderson8-Oct-02 12:00
JT Anderson8-Oct-02 12:00 
Generalpermission denied --- Pin
ns8-Oct-02 6:21
ns8-Oct-02 6:21 
GeneralRe: permission denied --- Pin
Carlos Antollini8-Oct-02 6:28
Carlos Antollini8-Oct-02 6:28 
GeneralRe: permission denied --- Pin
ns8-Oct-02 6:34
ns8-Oct-02 6:34 
GeneralRe: permission denied --- Pin
ns8-Oct-02 6:45
ns8-Oct-02 6:45 
GeneralRe: permission denied --- Pin
Carlos Antollini8-Oct-02 6:50
Carlos Antollini8-Oct-02 6:50 
GeneralRe: permission denied --- Pin
Daniel Turini8-Oct-02 7:58
Daniel Turini8-Oct-02 7:58 
GeneralRe: permission denied --- Pin
ns8-Oct-02 8:03
ns8-Oct-02 8:03 
GeneralMacro programming reference Pin
fury948-Oct-02 6:17
fury948-Oct-02 6:17 
GeneralCComboBox question. Pin
ns8-Oct-02 5:24
ns8-Oct-02 5:24 
GeneralRe: CComboBox question. Pin
Stephane Rodriguez.8-Oct-02 5:45
Stephane Rodriguez.8-Oct-02 5:45 
GeneralRe: CComboBox question. Pin
Max Santos8-Oct-02 5:52
Max Santos8-Oct-02 5:52 
GeneralThank you! Pin
ns8-Oct-02 6:18
ns8-Oct-02 6:18 
GeneralStrange MFC socket problems Pin
User 66588-Oct-02 4:58
User 66588-Oct-02 4:58 
GeneralRe: Strange MFC socket problems Pin
jparsons8-Oct-02 6:40
jparsons8-Oct-02 6:40 
GeneralRe: Strange MFC socket problems Pin
User 66588-Oct-02 7:38
User 66588-Oct-02 7:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.