User forums > Help
WxPack with Visual C++ 2005 Compiler
takeshimiya:
--- Quote from: RJP Computing on September 20, 2006, 10:15:13 pm ---I don't know of any way in windows to do that. I don't think Windows lets you set more then the default places to look for dll's. Sorry that is a limitation of windows I think.
--- End quote ---
There's a way, add the dir to PATH:
set PATH=C:\YourDir\;%PATH%
Or go to Control Panel->System Properties->Environment Variables
and edit one of the PATH variables and then add your dir.
RJP Computing:
--- Quote from: yablebab on September 20, 2006, 10:52:06 pm ---So when we distribute this application, we'd have to include both the .dll and the .manifest file with the exe. Is that right?
--- End quote ---
Yes that is correct.
RJP Computing:
--- Quote from: Takeshi Miya on September 20, 2006, 11:06:09 pm ---There's a way, add the dir to PATH:
set PATH=C:\YourDir\;%PATH%
Or go to Control Panel->System Properties->Environment Variables
and edit one of the PATH variables and then add your dir.
--- End quote ---
That works great. Thanks for the tip. I do this in a program now to dynamically load dll's that have dependancies.
Navigation
[0] Message Index
[*] Previous page
Go to full version