MFC Static Library Project
-
In VS 2017, is it possible to create a static library project that exports classes the same way an MFC Extension DLL does? I know I can create a regular static library project, but how would I make it possible to use MFC classes like CString inside that project?
The difficult we do right away... ...the impossible takes slightly longer.
-
In VS 2017, is it possible to create a static library project that exports classes the same way an MFC Extension DLL does? I know I can create a regular static library project, but how would I make it possible to use MFC classes like CString inside that project?
The difficult we do right away... ...the impossible takes slightly longer.
Yes. it is possible. See also [mfc as static library: is option gone? - Developer Community](https://developercommunity.visualstudio.com/content/problem/108646/mfc-as-static-library-is-option-gone.html) What problems do you have exactly?
-
Yes. it is possible. See also [mfc as static library: is option gone? - Developer Community](https://developercommunity.visualstudio.com/content/problem/108646/mfc-as-static-library-is-option-gone.html) What problems do you have exactly?
Thank you for your response! I just figured out how to do it. First, create a static library project, then include all of the MFC headers in the stdafx.h file. Thanks again. :)
The difficult we do right away... ...the impossible takes slightly longer.