Sign in to follow this  
griffin2000

Any way to link against a .NET 2003 lib in .NET 2005 ?

Recommended Posts

I have a third party static library that appears to has been compilied with the "single threaded" runtime in .NET 2003. I have none of the code or any means to recompile this .LIB. If I try and compile this in .NET 2005 I get tons of "duplicate symbol" errors at link time, no matter what runtime I use (the "single threaded" runtime has been dropped in 2005). Is there anyway round this, so I can link against this lib in .NET 2005 ?

Share this post


Link to post
Share on other sites
Perhaps you create a new dll which links to the .lib, only exporting the functions you need, then link the dll to your new project. I've no idea if that would work though.

Share this post


Link to post
Share on other sites
griffin2000,

Have you tried ignoring libraries? It usually lists the library where the duplicate symbol is coming from, so just try ignoring until you find the right combination?

-brad

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this