[Openal] Search path for wrap_oal.dll
Ed Phillips
ed at udel.edu
Fri Aug 25 08:29:50 PDT 2006
Hi,
On Thu, 24 Aug 2006, Osborn, Christopher (Chris) (CIV) wrote:
>>>> Is there any way to add a path (namely ext\bin) to the search path?
>>> No, there isn't a way to add a path to the search path right now. I received
>>> a request and patch earlier this week asking to add a new rule whereby the
>>> directory where openal32.dll is will also be searched, and I'm planning on
>>> adding that to the router code for an upcoming distribution (and documenting
>>> the change of course). In the meantime, the only way I can think to make
>>> this happen is to change the current working directory to the location where
>>> the wrapper is, do your enumeration, and then change the current working
>>> directory back to where it was (if that matters).
>>
>> Another way that might work (haven't tried it tho'): put your EXE in the
>> ext\bin directory with the OpenAL DLLs, and make a shortcut to the EXE
>> wherever you want it to be.
>
> Thank you both very much. The shortcut idea won't fit well into our
> distribution, but I may be able to tweak the working directory before
> enumeration. Of course, the patch that would search the same directory
> as OpenAL32.dll would be ideal. Thank you both!
You might just implement your own path to search in the code then... at
least until we have a OAL_PATH variable or openal.ini file or something
where we can specify a path so the code doesn't need to be changed.
Ed
Ed Phillips <ed at udel.edu> University of Delaware (302) 831-6082
Systems Programmer IV, Network and Systems Services
More information about the Openal
mailing list