Jump to content
  • Advertisement
Sign in to follow this  
griffin2000

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

This topic is 4309 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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!