i think u are using the mfc in your app.
open project settings, goto general settings and change "ms foundations
classes" to "shared lib".

regards
Tobias

-----Urspr�ngliche Nachricht-----
Von: Pankaj Bhatia [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 15. Januar 2004 17:39
An: [email protected]
Betreff: RE: Linkage Nightmare.

It works for these 2 linkage errors but generates 6 more.. :-)) 

        LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use
of
other libs; use /NODEFAULTLIB:library
        nafxcwd.lib(timecore.obj) : error LNK2001: unresolved external
symbol __mbctype
        nafxcwd.lib(apphelp.obj) : error LNK2001: unresolved external
symbol
__mbctype
        nafxcwd.lib(filelist.obj) : error LNK2001: unresolved external
symbol __mbctype
        nafxcwd.lib(appcore.obj) : error LNK2001: unresolved external
symbol
___argv
        nafxcwd.lib(appcore.obj) : error LNK2001: unresolved external
symbol
___argc
        Schema2QDR.exe : fatal error LNK1120: 3 unresolved externals
        Error executing link.exe.


I am not familiar with such type of settings.


-----Original Message-----
From: Wolfgang Schell [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 9:49 PM
To: [email protected]
Subject: Re: Linkage Nightmare.


>     Linking...
>     nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external
symbol
> __endthreadex
>     nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external
symbol
> __beginthreadex
>     Schema2QDR.exe : fatal error LNK1120: 2 unresolved externals
>     Error executing link.exe.

Open the project settings, go to C/C++ -> "Category": "Code Generation"
and
change "Use run-time library:" (for both debug AND release!) to (Debug)
Multi-Threaded DLL. That should do the trick.

Hope this helps,


Wolfgang

Reply via email to