--- In [email protected], "mr_gees100_peas" <geova...@...> wrote:
>
> I've downloaded a DLL utility for an USB device. We wrote a test program and 
> compiled and ran it. So far so good. the only issue is that the program only 
> runs if the DLL that controls the device is located in the same directory 
> where the executable is. I would like to specify the program where to look 
> for the DLL. Is there a way to do this in visual c++ express 2008? Is there 
> another way?
>
This is true for all dlls.  The first search is in the working directory and 
then the first entry in the PATH.  You may need to place your dll in a PATH 
common location such as Windows\System32.

Reply via email to