[vlc-devel] ActiveX: failed to load DLL

Howard howard at starvedia.com
Thu Feb 21 03:17:01 CET 2008


So if I link the ABC.dll at build time, then I would be able to load it

I don't have experience about this. Sorry for the question.

Thank you for the help.






From: vlc-devel-bounces at videolan.org [mailto:vlc-devel-bounces at videolan.org]
On Behalf Of Damien Fouilleul
Sent: Wednesday, February 20, 2008 6:30 PM
To: Mailing list for VLC media player developers
Subject: Re: [vlc-devel] ActiveX: failed to load DLL



libvlc.dll is linked at build time, which means that LoadLibrary() is
performed automatically by windows when axvlc.dll loads.


regarding your problem, they are 2 issues you need to consider when using


- ABC.dll cannot be found because it is not reachable from PATH or isn't in
the same directory as loader (.i.e AXVLC.DLL)

- ABC.dll has external dependencies (i.e it needs to load DLLs itself) which
cannot be found


you will need to examine the error from GetLastError() to find out what





On 20 Feb 2008, at 06:26, Howard wrote:

Hi all,

          Does anyone know how the ActiveX loads the libvlc.dll?  

I wanna load a dll, say, ABC.dll in the getVLC() in activex/plugin.cpp and I
made a cab file including the ABC.dll with libvlc.dll, axvlc.dll and other
plugins of the VLC.

However, the return value of LoadLibrary( TEXT("ABC.dll") ) is always a null

I also tried to load other library which was included in the cab file, say
libaccess_udp_plugin.dll, as well as the ABC.dll but it was success.

Can anyone tell me why?



PS. I'm running this on windows XP with service pack 2.

PS. The ABC.dll was compiled separately, not with VLC.


Best Regards,



vlc-devel mailing list
To unsubscribe or modify your subscription options:

__________ NOD32 2887 (20080219) Information __________

This message was checked by NOD32 antivirus system.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080221/2cdd862b/attachment.html>

More information about the vlc-devel mailing list