[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xalan-c-users
Subject:    AW: Linkage Nightmare.
From:       Tobias_Schütte <ts () edvwl ! de>
Date:       2004-01-15 18:03:39
Message-ID: 001501c3db91$e759f8c0$0b49a8c0 () tobias
[Download RAW message or body]


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:pbhatia@quark.co.in] 
Gesendet: Donnerstag, 15. Januar 2004 17:39
An: xalan-c-users@xml.apache.org
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:wolfgang.schell@gmx.de]
Sent: Thursday, January 15, 2004 9:49 PM
To: xalan-c-users@xml.apache.org
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic