blob: ea893c0d23422971476e4a4c066131676980348b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos}
{ %needlibrary }
program ptest;
{$ifdef fpc}{$mode objfpc}{$H+}{$endif fpc}
const
{$if defined(windows) or defined(mswindows)}
libname='tw9089b.dll';
{$else}
libname='tw9089b';
{$linklib tw9089b}
{$ifend}
function Test: Integer; cdecl; external libname;
begin
Writeln(Test);
end.
|