<div dir="ltr"><div><div><div><div>I&#39;ve developed the unofficial Opus codec support plugin for Winamp and I have been able to keep the libopusfile libraries inside a folder inside the application&#39;s install path - &quot;%PROGRAMFILES%\WinampNarf\opusfile&quot; - and all seemed to be fine and dandy.<br>
<br></div>However, if I try to load the new libopusurl-0.dll from the same folder as I have always done as with the other libraries, I get a NULL HMODULE handle from LoadLibraryW and GetLastError() return error code 126 - &quot;The specified module could not be found.&quot;<br>
<br></div>I then redid my code to load the libraries from the same folder as the application executable instead and it loaded this time.  I&#39;m assuming that &quot;libopusurl-0.dll is looking for its supporting DLL&#39;s from the exe path instead of it&#39;s own.<br>
<br></div>Can this be fixed?<br><br></div>tia<br></div>