Page 1 of 1

ActiveX Plugin - how to set the video options?

Posted: 06 Jul 2006 14:46
by DOOM
Hello,

i read every activex plugin thread but failed to set the video options using Delphi 7 Enterprise Edition.

Playback without any options works fine.

Code: Select all

procedure TForm1.Button1Click(Sender: TObject); begin VLCPlugin1.addTarget('C:\lost.avi',null, VLCPlayListInsert, 0); VLCPlugin1.play; end;
After setting an option, the application crashes with an EOle Exception - wrong parameter.

Which parameters are supported? And what a syntax is required? Has the option to start with - or : ?

Seems that many people have the same problems, was somebody successful in setting a video option? maybe with another programming language?

DOOM

Posted: 11 Jul 2006 11:17
by Quovodis
there seems to be a problem with the way Delphi 7 generates the Activex object pascal module. You can either edit and fix the module PAS file as discussed in
viewtopic.php?t=19012, or use a later version of Delphi.