Postby Pflaume » 11 Oct 2005 18:02
Quovodis:
Hey,
thank you for Fixing the Bug. When is the new svn available?
I have tried it by my own, but there are still a Problem with the setVariable.
Maybe you could help me.
1) I read out the Key for "key-audio-track"
X = VLC.getVariable("key-audio-track")
2) I should get "109" as Variant/Integer
3) I send the "109" with:
VLC.setVariable "key-pressed", X
4) Nothing happens...
From the Source Code I can see, that the "setVariable" should find the Type of Variable (eg. Integer) by it's own... But I dont know, how the "key-pressed" in VLC is working.
When I set the VLC.setVariable "key-audio-track", 109 the new Value of "key-audio-track" is allways "2", no metter witch Value I try to set. After that, I can access the key-audio-track with VLC.setVariable "key-pressed", 2
Maybe, there is a Problem with the:
VariantChangeType(&value, &arg, 0, VT_I4); ?
I you have any further Information, please let me know.
In the Moment, I am writing a App. that holds the VLC as an ActiveX and is downloading Playlists etc. from a VOD Server (VLS, VLC, ASP, SQL).
The Client- App has full Remote Control support! (Yes, IR Remote Control).
The Goal is a Windows XP embedded Application for an embedded STB to Watch DVD and Streams from the VOD Server. (Next Step is a Linux embedded STB (Sorry, but let me Start with MS first, I am a MS VB, VC .NET prof.))
Of Cours, it is open Source... A Sourceforge Project will be setup soon.
So, I can do a lot of debugging and reporting bugs for the activeX VLC plugin, if you are interestet.
Also I am working on putting the hole ActiveX into a VC Workspace. After that, it should be easy to implement a 100% compatible MFC/ATL table that can later be used under Cygwin to compile.
Please let me Know what you are thinking about it!
Regards
Stefan
P.S.: I am using VLC for several Years now and I think it is very, very good Work!