Page 1 of 1

[ActiveX V2] vlc.getvariable and vlc.setvariable ?

Posted: 04 Nov 2007 11:08
by ccriniti
Hello,

I'm doing a mediacenter using C# and vlc activeX control and I've seen a lot of code using VLC.getVariable or VLC.setVariable.

Where can I find these commands in the second version of the vlc activex plugin ???

Thanks for your help !!!

Re: [ActiveX V2] vlc.getvariable and vlc.setvariable ?

Posted: 04 Nov 2007 11:50
by divx118
It is not available in V2 only in V1.

Maurice 8)

Re: [ActiveX V2] vlc.getvariable and vlc.setvariable ?

Posted: 04 Nov 2007 11:51
by ccriniti
If I understand it's better to use de V1 ? the V2 is limited, has less funcitons ???

I need this to add a visualisation for the music playing

Re: [ActiveX V2] vlc.getvariable and vlc.setvariable ?

Posted: 04 Nov 2007 11:58
by divx118
That is not true only the get and setvariable are missing (wich where ver convenient). You can also look at the .net interface here http://wiki.videolan.org/.Net_Interface_to_VLC from Tappen there are some more functions in it and it is written in C#.

Maurice 8)

Re: [ActiveX V2] vlc.getvariable and vlc.setvariable ?

Posted: 04 Nov 2007 15:38
by ccriniti
I'm trying to use the .net interface but I always get an error.

What's the way to create a dll for this ???

Thanks for your help

Re: [ActiveX V2] vlc.getvariable and vlc.setvariable ?

Posted: 04 Nov 2007 20:01
by divx118
You can load all the files in visual studio 2005 and compile it. I did it once and it worked but i haven't installed visual studio 2005 yet on my freshly installed vista so i can't say how i did it exactly.

Maurice 8)

Re: [ActiveX V2] vlc.getvariable and vlc.setvariable ?

Posted: 04 Nov 2007 23:34
by ccriniti
Sorry I posted the message to soon before having time to test it very much.

The code works fine.

Thanks you for your help today :D