Repository URL to install this package:
Version:
3.0.0 ▾
|
{ %target=darwin,linux,freebsd,solaris,beos,haiku,aix,android }
{ %NEEDLIBRARY }
{ %delfiles=tw16263a }
{$mode delphi}
program MainApp;
uses
dynlibs,
Math;
const
{$ifdef windows}
libname='tw16263a.dll';
{$else}
libname = './libtw16263a.'+SharedSuffix;
{$endif}
var
hdl: TLibHandle;
begin
// the library will perform a div-by-zero in its init code
setexceptionmask([exZeroDivide]);
hdl := loadlibrary(libname);
if (hdl=nilhandle) then
halt(1);
unloadlibrary(hdl);
end.