Recent

Author Topic: VLC Player (PasLibVlc) - Xubuntu Error  (Read 4411 times)

0x90kh4n

  • Newbie
  • Posts: 1
VLC Player (PasLibVlc) - Xubuntu Error
« on: September 21, 2012, 02:24:17 pm »
Hi guys,

Vlc player installed xubuntu. Lazarus as a companent PasLibVlc installed. I get an error like this.

Code: [Select]
TApplication.HandleException Access violation
  Stack trace:
  $00856688
Segmentation fault (core dumped)

My source
Code: [Select]
uses
  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
  PasLibVlcPlayerUnit; 

type
   TForm1 = class(TForm)
   Button1: TButton;
   PasLibVlcPlayer1: TPasLibVlcPlayer;
   procedure Button1Click(Sender: TObject);
   procedure FormCreate(Sender: TObject);

procedure TForm1.Button1Click(Sender: TObject);
begin
  try
     PasLibVlcPlayer1.play('Maximize.mp4');
  except on e : exception do
    ShowMessage(e.message);
  end;

end;