Hello,
I'm trying to see if something like this is possible:
1) .\appname.exe requires foo.dll
2) foo.dll exists in C:\windows and in .\lib\
3) I would like appname.exe to use .\lib\foo.dll instead of C:\windows
\foo.dll
I have tried using a manifest file, but I don't know if what I'm
trying to achieve is possible.
The example manifest file I have is .\appname.exe.manifest, and
contains:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
<assemblyIdentity type="win32" name="appname" version="6.0.0.0"
processorArchitecture="x86">
<file name="foo.dll" sourceName="foo.dll" sourcePath=".\lib"
importPath=".\lib">
</assembly>
The only other idea that I have is to dynamically link to the DLL from
within appname.exe, but I would rather not recompile if necessary.
Thank you for any information that you can provide.
- Shawn
|