I wrote a simple Delphi 7 Example to use the VLC activeX Plugin ver. 0.8.5 test2.
Code: Select all
//***********************************************************
procedure TForm1.BtnOpenClick(Sender: TObject);
var
Parameter : array of String;
Dateiname : String;
begin
if OpenDialog1.Execute then
begin
Dateiname := OpenDialog1.FileName;
SetLength(Parameter,2);
Parameter[0]:=':vout-filter=deinterlace';
Parameter[1]:=':deinterlace-mode=blend';
VLCPlugin1.addTarget(Dateiname ,Parameter ,VLCPlayListInsert ,0);
end;
end;
//*********************************************************
procedure TForm1.BtnPlayClick(Sender: TObject);
begin
VLCPlugin1.play;
end;
//***********************************************************
procedure TForm1.BtnFFClick(Sender: TObject);
begin
VLCPlugIn1.Position := 0.5;
end;
//***********************************************************
With the BtnFF Button I want to seek to the middle of the movie.
But when I click on the BtnFF Button Delphi shows me:
By pressing run I can continue the application and the seek to the middle of the movie works.Project Project1.exe raised expetion class EOleExeption with Message 'Schwerwiegender Fehler'. Process stopped. Use Step or Run to continue.
What can I do to prevent this Error Message?
Is there an other opportunity to seek in the movie? F.e. Simulation of some pressed Keys?
Thanks
Cu Trucki