Activex and adtarget options in vb6

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
chx2k
New Cone
New Cone
Posts: 7
Joined: 15 Oct 2005 20:09

Activex and adtarget options in vb6

Postby chx2k » 16 Oct 2005 22:20

Hi,

I'm using the activex in vb6 and I'm trying to pass a couple options throught the adtarger's options argument, but I noticed that I can pass only the first one.

Is this how it should work or it's a bug?

here is an example of what I tried.


Dim options() As Variant
options() = Array(":snapshot-path=c:\snapshots",":input-repeat=1")
VLCPlugin1.addTarget "c:\myvideos\video.mpg", options, VLCPlayListAppendAndGo, -666

and the snapshot-path was set correctly, then I tried this:

Dim options() As Variant
options() = Array(":input-repeat=1",":snapshot-path=c:\snapshots")
VLCPlugin1.addTarget "c:\myvideos\video.mpg", options, VLCPlayListAppendAndGo, -666

and the snapshots-path did not get set.

This is just an example, I tried with other options and same thing happened only the first option was set.

Am I passing the options wrong, is this how it should work or it's a bug?

I'm using nightly build 20051015.

Thank you.

Quovodis
Cone that earned his stripes
Cone that earned his stripes
Posts: 271
Joined: 16 Jun 2004 11:13
Location: Cork, Ireland

Postby Quovodis » 17 Oct 2005 16:39

this is a bug, last element of array was never processed

a fix has been committed,

you should download the nightly build post 17th October 2005

for subversion users:
it has been fixed in SVN as revision 12870

thanks for the report

chx2k
New Cone
New Cone
Posts: 7
Joined: 15 Oct 2005 20:09

Postby chx2k » 17 Oct 2005 18:16

Thank you!


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 7 guests