Just out of interest:
Is it possible to link a library which is configured
to use MFC statically together with an application
which uses MFC as DLL?!
Regards
Ronny
Printable View
Just out of interest:
Is it possible to link a library which is configured
to use MFC statically together with an application
which uses MFC as DLL?!
Regards
Ronny
Sure... Your DLL that statically links MFC will just have its own copies of some of the MFC classes (which will increase its size).
-- MDWilliams
Note: With .libs I meant real .LIB - Libraries that use MFC also as .LIB. Can they
be linked with apps that use MFC as DLL instead ?
Ronny
If the library you wish to link with is a dynamic library, it can be statically linked with MFC and an application that links dynamically with MFC can link with this library. It is not a sound architecture, but it does work.
If the library you wish to link with is a static library, then this library can only be linked with applications that use MFC the same way. If you try to link with an application that uses MFC differently, you will get a ton of link error messages, referring to multiply defined symbols.
Chris
yes it is possible!
after finish coding change in " project - setting" th option to your option