470,817 Members | 1,300 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,817 developers. It's quick & easy.

linking in static library compiled in VC 6

I have a static library that is compiled using the latest version of VC 6. It uses the multithreaded DLL versions of the run-time library, and it uses STL classes. I would like to make use of this static library in a VS .NET 2003 managed C++ project. Currently, I am just linking the compiled .lib file into my VC 7 project. (This is the simplest approach, as it is not practical to move the static library project to VC 7 at this time.) My VC 7 module compiles and runs using the VC 7 CRT (MSVCR71) and Standard C++ (MSVCP71) libraries. I haven't found any issues at compile time or runtime, but I'm wondering if this is considered a dangerous approach--i.e. compiling a static library against an older version of the CRT/STL and linking it into a module that uses a newer version. Are there any pitfalls here or is it considered a "supported" scenario

Nov 17 '05 #1
0 1317

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Rudy Ray Moore | last post: by
3 posts views Thread by JohnnySparkles | last post: by
2 posts views Thread by Jim Johnson | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.