Using MSVC 5.0 and MSVC 6.0 On One Machine 
Author Message
 Using MSVC 5.0 and MSVC 6.0 On One Machine

There is an interesting note at:


I tried it - it really works.



Mon, 10 Sep 2001 03:00:00 GMT  
 Using MSVC 5.0 and MSVC 6.0 On One Machine

> Ondrej, you wrote that you have VC5 & VC6 coexist successfully as
described in
> the roguewave article. I'm puzzled that the article only mentions MFC
> Isn't there a difference in the crt libs as well? And since debug libs are
> guaranteed to be compatible, why is it safe to use VC6 debug crt libs with
a VC5
> project and vice versa?

> Best Regards,
> Alen

The idea behind the article is the only problem is with debug DLLs because
they are placed in Windows/System folder.

As I always use crt libs linked static (non-DLL), I did not experience any
problems with them. Maybe they use it the same way at RogueWave or maybe
there is no conflict between VC6/VC5 crt debug libs.


Mon, 10 Sep 2001 03:00:00 GMT  
 Using MSVC 5.0 and MSVC 6.0 On One Machine

> Hi there:

> I had similar problem. As a work around, Microsoft suggested to put those
> files for VC5.0 into the project Debug directory instead of swapping the
> files. I tried but it did not work as expected. Is there any way I can
> configue the IDE so that it will serach those files in my project Debug
> directory first instead of windows/system? I tried to configure the
> under Tools/Options/Directories, and inserted my directory as the first
> for EXECUTABLE and LIBRARY, but it did not work. I tried the idea of
> it works for me. But I would prefer to the one Microsoft suggested if it
> as it is simpler and I only intend to use VC 50 for one project. Any
> suggestion?

> By the way, the files Miscrsoft mentioned are more than those listed by
> Powell. You can check this out in

> Thanks in advance!

> Jason Tang

Search MSDN and did not find anything - what is the document URL?
I suppose the other files are CRT libs, which I link statically and
therefore do not have problems with them.

If it is only one project than maybe you could link even MFC as static libs
in your debug build and you should have no problems with wrong version then.



Tue, 11 Sep 2001 03:00:00 GMT  
 [ 3 post ] 

 Relevant Pages 

1. Can I mix MSVC 4.0 and MSVC 6.0?

2. MSVC 5.0 -> 6.0 XML processing error

3. Comiling large HELP files using MSVC 6.0

4. Used to compile, now it does not (MSVC 5.0)

5. using 6.0 and 5.0 on same machine

6. clrscr(); in MSVC 5.0

7. Linking bug in MSVC 5.0

8. MSVC 6.0 rpcasync.h generates warning

9. Crashing OCX on computers with no MSVC 6.0

10. msvc 6.0, Access 2000

11. Error in MSVC 6.0 headers...

12. XP and MSVC ++ 6.0 Crash


Powered by phpBB® Forum Software