B
bonk
Is it generally OK for an EXE that has MFC linked statically to load an use
another DLL wich has MFC linked as shared DLL ?
To be more specific:
I have an EXE that links a lib. Let's call it mylib.lib. That Lib as well as
the EXE have MFC linked statically.
Then in a completely different project I have a regular DLL, wich is
compiled with the /CLR switch and therefore needs the special CRT libs as
well as MFC linked as shared library. This DLL links mylib.lib too only that
this time mylib.lib links MFC as shared library too.
Both exe and dll need need to link against mylib.lib because the dll exports
a function that returns an interface whose methods contain types defined in
mylib.lib.
Now - is this scenario problematic in any way? If so why ?
another DLL wich has MFC linked as shared DLL ?
To be more specific:
I have an EXE that links a lib. Let's call it mylib.lib. That Lib as well as
the EXE have MFC linked statically.
Then in a completely different project I have a regular DLL, wich is
compiled with the /CLR switch and therefore needs the special CRT libs as
well as MFC linked as shared library. This DLL links mylib.lib too only that
this time mylib.lib links MFC as shared library too.
Both exe and dll need need to link against mylib.lib because the dll exports
a function that returns an interface whose methods contain types defined in
mylib.lib.
Now - is this scenario problematic in any way? If so why ?