Re: Static or Shared MFC DLLs?

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



Paul wrote:

What I don't get is why does Windows OS even have these DLLs if every
app is including them in their exe? Isn't one purpose of DLLs to
share? So basically, apps should include in the exe every DLL that it
calls even though every XP or Vista OS comes with a satisfactory
mfc*.dll. I wonder if Mac OS is like that.

Regards,
Paul

That's the mistake. Windows DOESN'T have the DLLs. They are installed by application installers. If they're already on the machine, cool. your installer should be prepared to install them if necessary. If they are already there, no wasted space... the ones in place will be used.
.



Relevant Pages

  • Re: C# Exceptions
    ... I did a runtime analysis of the exe and some important DLLs as ... > signature is valid then the app can decrypt the response and process it. ... > the source code of a managed app. ... NOT FOR THE MAIN PROGRAM EXE FILE. ...
    (Pen-Test)
  • Re: From VC6 to .NET 2 questions
    ... >>>would require some previously unneeded files, (dlls, framework and so on). ... >Why do you insist on talking about installers? ... control of your app and not depending on a magic fairy. ... So the fact that a new compiler may or may not require different files ...
    (microsoft.public.vc.mfc)
  • Re: Remoting and ilmerge
    ... I am seeing my remoting app fail with this error when I use ilmerge ... to repackage the exe and dlls as one exe. ... I think once you merge the DLLs together, ...
    (microsoft.public.dotnet.framework.remoting)
  • Deploying files not in the project
    ... I have a generic "Wizard-like" app that I use to run my applications. ... except that the EXE doesn't directly use any of the DLLs ... only states which files to deploy and then specifies the EXE as the app to ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Static or Shared MFC DLLs?
    ... MFC app that does nothing. ... exe is about 50KB. ... put MFC related DLLs in your directory and expect it to work. ...
    (microsoft.public.vc.mfc)