• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 329
  • Last Modified:

C++ v6 Visual Studio and Visio Studio .NET compatibility

I have an application to program in C++.  The application documentation calls for v6 of Visual Studio.

Can I use the latest version of .NET Visual Studio?  ( http://msdn.microsoft.com/vstudio/se/ )

Will there be any compatibility issues? I must use precompiled DLLs from the vendor.

Is there a v6 mode in .NET Visual Studio?

Any other issues to watch out for?

Thanks for the help.

Chuck W
0
watsocd
Asked:
watsocd
1 Solution
 
AxterCommented:
>>The application documentation calls for v6 of Visual Studio.

Yes, you can use .Net
It's more compliant with the standard then VC++ 6.0


>>Is there a v6 mode in .NET Visual Studio?
No

>>Any other issues to watch out for?
As long as your code is compliant with the C++ standards, you shouldn't have to worry about using .Net VS 6.0
0
 
waysideCommented:
VC 6.0 and VC.Net use different versions of the runtime libraries. Mixing these within the same program could lead to problems. For example, if the dll creates something using (vc 6.0) new and your program deletes it using (vc.net) delete, this willl probably cause a crash.

I don't remember if the name mangling changed from vc 6.0 to vc.net, but if it did, and the dll's export mangled names, you won't be able to link.

0
 
guntherothkCommented:
The default settings vor VC 7 (.NET 2003) flag code that would be a problem using a 64 bit processor, typically assumptions that a pointer is the same length as an int. This generates a lot of warnings from certain kinds of code. While these warnings are meaningful, they don't stop your 32-bit code from working.

You have to tell VC7 not to produce managed code, as this is the default.

The problems dll compatibility problems mentioned by wayside are real, but they are only a potential problem, not one that occurs frequently or always. It's worth trying, but keep this problem in the back of your head if you get an intractible bug.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now