Home > Software engineering >  MFC class library is how to realize the implicit load DLLS?
MFC class library is how to realize the implicit load DLLS?

Time:09-16

Write your own a class DLL to implicit load need
# pragma comment (lib, "XXX. Lib")
Or in the linker input - & gt; Additional dependencies, increase in XXX. Inside the lib

But the MFC in these two places all have no, you can use, is how to do?
Or have I didn't notice?

CodePudding user response:

Well, I found, in Afx. H file there are many
# pragma comment (lib, "XXX. Lib")

CodePudding user response:



CodePudding user response:


Using code recommended in stdafx. H way of introducing the lib,
So that we can distinguish between release and debug respectively with different lib
  • Related