Re: How can I link an vs2005 built lib with evc4???

Jeff Hobbs <jeff-2ke/W+B1M/[email protected]> Sat, 26 Nov 2005 10:02:18 -0800
Newsgroups gmane.comp.windows.ce.freeware
Organization ActiveState
Message-ID <[email protected]>
bobocreative wrote:
>     Anybody use evc4 to link an vs2005 built static library? The 
> compiler errored when linking with error message of incompatible c
> runtime library. Anybody know how to solve this problem, I can't use
> an .dll in my project ...

I've heard that vs2005 screws up the complication of dll hell even
worse than vs2003 did (and this applies to the crt):

"
| Visual C++ libraries cannot be used by a C/C++ application without a
| manifest binding the application to these libraries. If a C/C++
| application that depends on a Visual C++ library does not use a
| manifest, then an attempt to load the Visual C++ library as a
| dependent DLL from the application-local folder will result in an
| error message indicating that this is an unsupported way of loading a
| Visual C++ library.

   from http://msdn2.microsoft.com/en-us/library/ms235624.aspx

Even thought the text talks about C++, this seems to apply even to the
plain C runtime library msvcr80.dll.
"

I don't know what this specifically means for evc, but I will
stick with evc4 and vc6 as long as possible.

-- 
   Jeff Hobbs, The Tcl Guy
   http://www.ActiveState.com/, a division of Sophos


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/W4wwlB/TM
--------------------------------------------------------------------~->