Friday, 15 February 2013

visual studio - Creating & using an MFC static library -


Is it possible to create MFC static library (.lib) and it is possible to link it to a non-MFC C ++ application ? If so, does anybody know about making MFC static library? There is no such template in Visual Studio.

Well, it has been found that is for an MFC static library A template; It's just well hidden & mdash; This is in Win32 templates instead of MFC templates.

You only need to create a standard Win32 project and choose "Static Library". At that point the MFC checkbox is enabled and you are good to go.


No comments:

Post a Comment