473,385 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Compatibility between VC++ versions

Hi

To which degree is an MFC based dll compatible between:

VC++ 2002, 2003 and 2005?
We use dlls delivered by different partners and vendors and it looks like a
real mess to keep track of the different versions of the VC++ .NET versions
to make our application in line with the SW provided by others.
Regards
Ommund
Nov 17 '05 #1
1 1175
You cannot mix and match these DLLs when linked together. Or any situations
where you are using MFC Extension DLLs.

It is very hard to make sure you are doing the right thing if you load
together multiple copies inside one process. It is possible however. The
best way to do that is to use an API like COM or the CLS subset of .NET or
an flat C API between the various components to insure you don't leak types
of different versions of these libraries across component boundaries.

Things that you absolutely cannot do across boundaries of parts using
different versions of the libraries:
* Pass a library type
* Free memory allocated by another component
* Pass handles that are owned by another component and do something stateful
with them (like freeing them)
* throws exceptions across the boundary

Ronald Laeremans
Visual C++ team

"Ommund" <Om**********@c2i.no> wrote in message
news:IA*******************@juliett.dax.net...
Hi

To which degree is an MFC based dll compatible between:

VC++ 2002, 2003 and 2005?
We use dlls delivered by different partners and vendors and it looks like
a
real mess to keep track of the different versions of the VC++ .NET
versions
to make our application in line with the SW provided by others.
Regards
Ommund

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jason Mobarak | last post by:
Greetings! Say that it's desirable to provide backwards compatibility for methods of an object, consider the case where... class Foo: def bar (self, a, b): pass ....is a defined class...
1
by: Philippe C. Martin | last post by:
Hi, *** QUICK BACKGROUND *** -)I have been working with pycsc.c in which I made a few modifications. -)When I had it working un linux - I attempted to port it to Windows -) I read a lot,...
1
by: Dev | last post by:
Dear Friends, I have created VC++.NET dll by VS.NET2003.Is it possible to use this dll(vs.net2003) into C# version (Vs.net2002)? Is there backward compatibility? If so ..How do to this?..If...
4
by: leonid | last post by:
Hello, I just got VC++ .NET 2003 standard. Can I install it on the same computer as VC++6 and use them independently? Regards Leonid
4
by: Jaime Stuardo | last post by:
Hi all.. I'm planning to translate an application I programmed in VC++ 6.0 to VC++.NET platform becaun in VS.NET it's easier to develop. The question is: if I compile an application under...
150
by: tony | last post by:
If you have any PHP scripts which will not work in the current releases due to breaks in backwards compatibility then take a look at http://www.tonymarston.net/php-mysql/bc-is-everything.html and...
2
by: Calvin KD | last post by:
Does anyone know if there's any issues involving versions of .Net Framework, Visual Studio and HTTP which might cause a compatibility problem? We currently using VS1.1 for our web apps (C#) and the...
2
by: Carlo | last post by:
I recently started in a new position, and I inherited an application written in VB6 that uses a bunch of DLLs and OCX controls. Version Compatibility is set to Binary at the project level, but since...
17
by: osama178 | last post by:
Hi, What does it mean for an object to be binary compatible? And why aren't STL objects binary compatible? Any insights, links, resources for further reading are greatly appreciated. Thanks.
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.