Re: Plugin problem with Firefox 4
imag <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.plugins |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
On Apr 26, 10:02 pm, Benjamin Smedberg <[email protected]> wrote: > This was an intentional change made in a security bug which is not yet > public. Instead of loading the library with a raw filename > LoadLibrary("my.dll") you should construct a full path using > LoadLibrary("C:\full\path\to\my.dll"); Thank you for clarifying this! Looks like even specifying full path to LoadLibrary doesn't work if the DLL going to be loaded depends on another DLL. (even if it is in the same directory) LoadLibraryEx with LOAD_WITH_ALTERED_SEARCH_PATH flag works in such case.