Repository URL to install this package:
|
Version:
3.2.0 ▾
|
{ %needlibrary }
{ %delfiles=tw13628a }
program loadmodule;
uses
popuperr,
dynlibs;
const
{$ifdef unix}
libname = './libtw13628a.'+SharedSuffix;
{$endif unix}
{$ifdef windows}
{$DEFINE NODLLPREFIX}
{$endif windows}
{$ifdef os2}
{$DEFINE NODLLPREFIX}
{$endif os2}
{$IFDEF NODLLPREFIX}
libname = 'tw13628a.' + SharedSuffix;
{$ENDIF NODLLPREFIX}
var
hdl: TLibHandle;
begin
hdl := loadlibrary(libname);
if (hdl=nilhandle) then
halt(1);
if not UnloadLibrary(hdl) then
halt(2);;
end.