V
Vipin Jain
Guest
Hi,
I need a help for following problem:
I have set of applications organized in some directory structure say
C:/Product/A/bin/python26.dll
C:/Product/A/bin/zlib.dll
C:/Product/B/bin/program_1.exe <dependent on python26.dll and zlib.dll>
C:/Product/C/bin/program_2.exe <dependent on python26.dll and zlib.dll>
Sometimes, these python26.dll and zlib.dll are found in C:/WinNt/system32 directory for some reason, so our dlls are not picked up even we have C:/Product/A/bin/ directory in the PATH environment.
Reason behind this is the Windows dll search order (which first search in the same directory where application resides, followed by System folders, and then PATH environment variable).
Is there a way to write an application manifest file which can instruct that dll should be picked up from C:/Product/A/bin directory before looking into System folders?
If yes, then what should be the content of manifest file for above situation for example?
Any help would be appreciated in this regard?
-Vipin
Continue reading...
I need a help for following problem:
I have set of applications organized in some directory structure say
C:/Product/A/bin/python26.dll
C:/Product/A/bin/zlib.dll
C:/Product/B/bin/program_1.exe <dependent on python26.dll and zlib.dll>
C:/Product/C/bin/program_2.exe <dependent on python26.dll and zlib.dll>
Sometimes, these python26.dll and zlib.dll are found in C:/WinNt/system32 directory for some reason, so our dlls are not picked up even we have C:/Product/A/bin/ directory in the PATH environment.
Reason behind this is the Windows dll search order (which first search in the same directory where application resides, followed by System folders, and then PATH environment variable).
Is there a way to write an application manifest file which can instruct that dll should be picked up from C:/Product/A/bin directory before looking into System folders?
If yes, then what should be the content of manifest file for above situation for example?
Any help would be appreciated in this regard?
-Vipin
Continue reading...