Home > Software engineering >  Use MFC in a Shared DLL, packaged DLL?
Use MFC in a Shared DLL, packaged DLL?

Time:10-02

Teachers, I wrote a MFC procedures, for the convenience of update and is used in Shared DLLS. This exe is only more than 200 K, update quickly.
But many machines have no runtime, so before I'm MFC140, runtime and more than 20 exe DLL copied into the same directory.
I want to ask, how to put these need method of DLL packaged into a file.
This directory below 1. Implementation of a exe 2. A runtime package.
Later I each update to update exe, runtime also won't have so many files.

CodePudding user response:

If is the manner in which Shared DLL, then definitely need the support of MFC library, it is impossible to get the support of MFC library all packages into a DLL, if you don't want to need the support of MFC, then you have to be compiled into a static model, this certainly exe is bigger than sharing way, cannot be avoided,
You can make an installation package with installation tools, let the installation tool will automatically generate the support of the MFC library to the system directory, so you clean the exe directory

CodePudding user response:

The runtime library files directly to the packaged into a file, after decompression come out

CodePudding user response:

Learn how to use the depends. Exe view exe or DLL DLL
  • Related