Sign in to follow this  

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

This topic is 4100 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

This topic is 4100 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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