mfc42.dll Vs. mfc40.dll 
Author Message
 mfc42.dll Vs. mfc40.dll

Hello,
I have an MFC application built with VC++ 6.0 using mfc42.dll
Windows NT 4 SP 5 comes, AFAIK, just with mfc40.dll, with mfc42.dll being
added to it by VC.
If the application has to be run on an NT machine without Visual, should I
distribute mfc42.dll (almost 1M) along with it (Either statically linked or
as a dll)? I'd rather not do it, since it doubles the size of the result...
So my question is: Is there _any_ way to specify (In build time or later)
that the target is using mfc40.dll, thus saving the extra distribution file?

Thanks In Advance for any tip!

Amir Eliaz



Thu, 13 Jun 2002 03:00:00 GMT  
 mfc42.dll Vs. mfc40.dll
On NT right click the .Exe of your app under windows explorer and check the
dependency of your app. Or you can run depends.exe directly. If you have a
dependency on mfc42.dll you have to ship it. mfc42.dll and mfc40.dll both
are system dlls, so most target windows machines should have it. But they
might not be the latest and greatest ones, so it your app's responsibility
to upgrade it to latest as per your app's requirement. Most likely if you
have written your app using VC6 using MFC, it will have dependency on
mfc42.dll
Here is a good MSDN article about redistributing dlls.
http://www.msdn.microsoft.com/library/techart/redistribvc6.htm or under MSDN
Search Tab, look for "Redistributing Microsoft Visual C++ 6.0 Applications"
with the quotes.
--- VR


Quote:
> Hello,
> I have an MFC application built with VC++ 6.0 using mfc42.dll
> Windows NT 4 SP 5 comes, AFAIK, just with mfc40.dll, with mfc42.dll being
> added to it by VC.
> If the application has to be run on an NT machine without Visual, should I
> distribute mfc42.dll (almost 1M) along with it (Either statically linked
or
> as a dll)? I'd rather not do it, since it doubles the size of the
result...
> So my question is: Is there _any_ way to specify (In build time or later)
> that the target is using mfc40.dll, thus saving the extra distribution
file?

> Thanks In Advance for any tip!

> Amir Eliaz




Thu, 13 Jun 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Force compilation with MFC42 vs MFC40 dll / lib

2. Force compilation with MFC42 vs MFC40 dll / lib

3. Force compilation with MFC42 vs MFC40 dll / lib

4. Q: MFC40.DLL instead MFC42.DLL

5. MFC42.DLL vs MFC42U.DLL

6. MFC42.dll and MFC42.dll

7. msvcrt.dll mfc42.dll mfco42.dll

8. cgi-script vs. mfc42 dll

9. File Associations and DEVSHL.DLL and MFC42.DLL

10. MFC42U.DLL and MFC42.DLL

11. msvcrt.dll and mfc42.dll

12. MSDEV invalid page faults in RCDLL.DLL and MFC42.DLL

 

 
Powered by phpBB® Forum Software