Page 1 of 1

axvlc activex distribution

Posted: 05 Aug 2008 13:34
by callxpert
Hi,
Im developing an application in VB 6 using axvlc.dll
I had copied,
axvlc.dll,libvlc.dll,pluginsfolder to system32
Register axvlc.dll using regsvr successfully
The vlc icon appears in the VB toolbar,but it doesnt work.
what are the files i should distribute and what are the files that i should register
Thanks,
Naveen

Re: axvlc activex distribution

Posted: 05 Aug 2008 16:11
by VLC_help

Re: axvlc activex distribution

Posted: 06 Aug 2008 08:46
by callxpert
Hi,
Unable to use cabsdk.
Plz tell me a way to use it with Inno setup 5
Inno setup can be freely downloaded at www.innosetup.com
Any help will be appreciated greatly
Thanks,
Naveen

Re: axvlc activex distribution

Posted: 06 Aug 2008 23:28
by thannoy
Hi,

You can copy axvlc.dll where you want on the system, regsvr32 the copied ActiveX is enough to make it ready for use. But at runtime, this ActiveX will look for plugins folder guessing libvlc install location.

This registry key entry seems to be used to guess VLC install dir (at leat in 0.9.0):
key: HKEY_LOCAL_MACHINE, Software > VideoLAN > VLC
value: InstallDir
Then, "\plugins" is concatenated to this value. I don't know how axvlc.dll find the link to libvlc.dll. I think it is just dynamicaly linked so having libvlc.dll in a folder added to PATH environment variable could help maybe.

regards,
Anthony

Re: axvlc activex distribution

Posted: 07 Aug 2008 07:02
by callxpert
Hi,
I got it working,
I copied axvlc,libvlc,and plugins folder to "C:\program files\VideoLAN\VLC"
Registered axvlc using regserver
Created a registry entry,VideoLAN>VLC-InstallDir = "C:\program files\VideoLAN\VLC"
And it works fine
Thanks,
Naveen