[vlc-devel] [PATCH]Fixes for mozilla and activex plugins- ticket #2062

Jean-Baptiste Kempf jb at videolan.org
Thu Oct 30 13:10:33 CET 2008


Hello,

On Wed, Oct 29, 2008 at 07:31:55PM +0100, Geoffroy Couprie wrote :
> Here are my patches for #2062. The problem was the DLL search path
> that didn't include the VLC directory, so the plugins couldn't find
> third party libraries (example: access_http didn't find libz). I used
> the SetDllDirectory to alter the search path during execution.
> Basically, that's like adding the VLC directory to the PATH, but it's
> only working for the plugin, only during its execution, and the PATH
> remains unchanged.
I think that this is indeed a better solution than manifest mess.

> I need _Win32_WINNT >= 0x502 because SetDllDirectory was introduced
> with XP SP1. I had to add winbase.h and the #define before everything

Basically, this says that the browser plugins are only going to work for
Windows XP SP2 (and Win2003 SP1) or later, right?

Best Regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/



More information about the vlc-devel mailing list