Re: which operating systems support MFC71*.dlls ?

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message
news:ns4n23h0ftol3cjr10153tanm5up38am50@xxxxxxxxxx
Of the over two dozen DLLs that appear to be linked into one of my
applications (27, to be
exact), static linking would eliminate two. Since some of these are
GDI32, KERNEL32
USER32 and ADVAPI, we are now down to 21 DLLs. Most of these are on the
redistributable
list, and therefore they, too, cannot be assumed to exist on the target
machine. The myth
that copy==install persists, but it has been obsolete for at least 15
years.

You need to examine ALL dependent DLL's and make sure they are there (with a
sufficient version), but it most certainly IS possible that they are there,
especially if only modern OS's like Win2K/XP/Vista are supported. For
example, it is not necessary to redist SHFOLDER.DLL (I think is what it is
called) on these OS's.

-- David


.



Relevant Pages

  • Re: static linking VS dynamic use of MFC dlls
    ... > what are the pros and cons on statically linking MFC library?? ... > I did, as well as including the Msvcr71.dll in installer project, but ... Or just stick to static linking? ... The only situation in which the MFC DLLs have any advantage is if you are ...
    (microsoft.public.vc.mfc)
  • Re: How to Deploy MFC only based application?
    ... They understand the limitations of static linking very well, because if they do not their application will not even run on the development machine. ... DLLs, it won't. ... I have used static linking for many years, using a very simple installer ... simple as copying the exe files to their destination directory. ...
    (microsoft.public.vc.mfc)
  • Re: CString Access Viloation
    ... Problems like this are standard under such conditions, ... static linking when DLLs are involved is exceptionally hazardous. ... It gets the CString fine, a comma separated list, and I ...
    (microsoft.public.vc.mfc)
  • Re: .net or mfc?
    ... The problem with static linking is that it eliminates two of the two dozen DLLs that have ... so there is very little saving. ... Studio on the target machine ...
    (microsoft.public.vc.mfc)
  • Re: Timers in a DLL
    ... you don't overload OnTimer, ... Be aware that by using static linking you are buying into a potential Wolrd Of Hurt. ... practice should be avoided, especially in DLLs. ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)