home *** CD-ROM | disk | FTP | other *** search
- unit AIM;
-
- interface
- uses
- {$IFDEF WIN32}
- Windows;
- {$ELSE}
- WinTypes, WinProcs;
- {$ENDIF}
-
- {
- aim.pas
-
- Borland Delphi interface unit for addZIP In-Memory (AIM) compression library
- Copyright ⌐ 1995,1997 Stephen Darlington. All rights reserved.
-
- Borland Delphi interface unit created by Brad Clarke.
- }
-
- function addZIP_InMemory(lpszOriginal: PChar; dwOriginal: LongInt; lpszComp: PChar; dwComp: LongInt):
- LongInt; {$ifdef Win32} stdcall; {$endif Win32}
-
- function addUNZIP_InMemory(lpszOriginal: PChar; dwOriginal: LongInt; lpszComp: PChar; dwComp: LongInt):
- LongInt; {$ifdef Win32} stdcall; {$endif Win32}
-
- {$IFDEF WIN32}
- Const LIBNAME = 'AIM32.DLL';
- {$ELSE}
- Const LIBNAME = 'AIM16.DLL';
- {$ENDIF}
-
- implementation
-
- function addZIP_InMemory(lpszOriginal: PChar; dwOriginal: LongInt; lpszComp: PChar; dwComp: LongInt):
- LongInt; {$ifdef Win32} stdcall; {$endif Win32} external LIBNAME;
-
- function addUNZIP_InMemory(lpszOriginal: PChar; dwOriginal: LongInt; lpszComp: PChar; dwComp: LongInt):
- LongInt; {$ifdef Win32} stdcall; {$endif Win32} external LIBNAME;
-
- end.
-