blob: 3846a69cd96a032710747cab86ada5ea12f60273 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
program testfpguivlc;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}
cthreads,
{$ENDIF}
Math,
Classes, frmvlcplayer, fpg_vlc, libvlc, vlc, fpg_main;
procedure MainProc;
var
frm: TVLCPlayerDemoForm;
begin
fpgApplication.Initialize;
frm := TVLCPlayerDemoForm.Create(nil);
frm.Show;
fpgApplication.Run;
frm.Free;
end;
begin
With TThread.Create(False) do
Terminate;
setexceptionmask([exInvalidOp, exDenormalized, exZeroDivide,
exOverflow, exUnderflow, exPrecision]);
MainProc;
end.
|