[Openal] Search path for wrap_oal.dll

Osborn, Christopher (Chris) (CIV) cwosborn at nps.edu
Thu Aug 24 14:14:18 PDT 2006


>>> 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!

-chris


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20060824/984ece4b/attachment.html


More information about the Openal mailing list