Home > Software engineering >  MFC DLL type, export Lib, other applications into the runtime, or warrant DLL
MFC DLL type, export Lib, other applications into the runtime, or warrant DLL

Time:11-14

Have chose to use MFC in a static library, and do not use the ALT,

How to set up the MFC DLL to make it fall off the lib DLL?

thank you

CodePudding user response:

# pragma comment (lib, "XXXXX. Lib")
Or the corresponding.lib file is added in the additional dependencies, to ensure that the introduction of the lib is static library, rather than the import library, can run out of DLL,

CodePudding user response:

DLL is dynamic libraries in English, you can't use static DLL,
DLL, you don't want to move the code into a static library project

CodePudding user response:

To create static library project

CodePudding user response:

Try the project properties change as static link library

CodePudding user response:

refer to the second floor Jiang Sheng response:
DLL is dynamic libraries in English, you can't use static DLL,
DLL, you don't want to move the code into a static library project

right

CodePudding user response:

Create a project to choose static library


  • Related