Discussion:
Pb loading mfc90.dll
(too old to reply)
fat52
2010-08-25 10:01:28 UTC
Permalink
Hello,

i'm using visual studio 2008 on windows xp. I compile with command line, not
with ide.
I compile dll and everything is ok, but when i make a dependency walker on
them,
they don't find mfc90.dll.
mfc90.dll is in winsxs directory and my applications using mfc90.dll find it.
The problem is only on my dlls.

The manifest of the dlls seems ok. The stored informations are the same than
the
applications.
Is there any options to activate to help dll to find c run time dll in winsxs
directory?
Mladen Turk
2010-08-26 06:21:28 UTC
Permalink
Post by fat52
The manifest of the dlls seems ok. The stored informations are the same than
the
applications.
Is there any options to activate to help dll to find c run time dll in winsxs
directory?
Try to embed the manifest with the .dll
Dunno if you are using the nmake and traditional makefile or
the xml build file. If that's makefile add something like this
at the end of the .dll target section:

your.dll: ...
...
IF EXIST your.dll.manifest \
mt -nologo -manifest your.dll.manifest -outputresource:your.dll;2



Regards
--
^TM

Loading...