PasW32 1.1 FreeWare version Copyright (C) 1998, Pasquale Morvillo All rights reserved E-mail pamorv@freenet.hut.fi ***************************************************************************** INTRODUCTION ***************************************************************************** PasW32 provide a replacement of the standard BP units for 32 bit version of Delphi (for Windows 95/98 or Windows NT); so you can compile with Delphi applications written with Borland Pascal that use the following units: SYSTEM, CRT, DOS, STRINGS, WINPROCS, WINTYPES. In addition, you have all the advantages and speed of 32-bit programming under WIN32 operating system, access to all the memory avaible in your system, no 64Kb limit, full access to WIN32 API. The current version of PASW32 provide a replacement for the units SYSTEM, CRT and DOS (the STRINGS unit is included into the SYSUTILS Delphi unit and WINPROCS and WINTYPEs unit are included into the WINDOWS Delphi unit). Of course, to compile your Borland Pascal programs with the PASW32 library, you need a 32-bit version of Delphi (ver. 2, 3 or 4). ***************************************************************************** GETTING STARTED ***************************************************************************** 1. You must put the file PASW32.DLL into a directory included in your path (per example, under into WIN95 C:\WINDOWS\SYSTEM; under WINNT into C:\WINNT\SYSTEM32). 2. The main file of your program (the pascal PROGRAM file) must have the extension .DPR (and not .PAS). 3. You have to put the clause {$APPTYPE CONSOLE} into your DPR file. 4. You must use the SYSTEM32 unit (or DOS and CRT if you need). These units provide an interface to PASW32.DLL library. 5. Good luck and contact the autor for suggestions and problems. Example: Program Demo; {$APPTYPE CONSOLE} uses System32; begin writeln(memavail); readln; end. ***************************************************************************** NOTES ***************************************************************************** SYSTEM32, CRT and DOS units contain an interface to PASW32.DLL unit; the sourcecode for all the procedures/functions of PASW32.DLL (written in Delphi) is not included into the freeware version. The Delphi SYSTEM unit contains a lot of functions/procedures included into the BP SYSTEM unit, so I rewrote only what is missed (see SYSTEM32.PAS). I rewrote interely the BP CRT and DOS unit. CRT.PAS are 100% compatible with the BP CRT unit. DOS doesn't support the interrupt procedures of the BP DOS unit (MSDOS, INTR, GETINTVEC, SETINTVEC). Althought you are writing console mode applications, you can use all the functions of the WIN32 API (you need to use the Delphi WINDOWS unit). ***************************************************************************** CONTENTS OF W32PAS11.ZIP ***************************************************************************** README.TXT - this file DOS.PAS - dos unit for delphi CRT.PAS - crt unit for delphi SYSTEM32.PAS - system unit integration for delphi PASW32.DLL - DLL for all the functions/procedures DEMOSYS.DPR | DEMOSYS.DOF | Demo program for system32 unit DEMOSYS.DSK | DEMOSYS.EXE | DEMODOS.DPR | DEMODOS.DOF | DEMODOS.DSK | Demo program for DOS unit DEMODOS.EXE | DEMOCRT.DPR | DEMOCRT.DOF | DEMOCRT.DSK | Demo program for CRT unit DEMOCRT.EXE | ***************************************************************************** LICENSE AGREEMENT ***************************************************************************** This agreement explains when and how you may use the freeware version of this software product. In this agreement "PASW32" means all files from PASW3211.ZIP PASW32 may be freely distributed, provided the distribution package is not modified. No person or company may charge a fee for the distribution of PASW32 without written permission from the copyright holder. This program is distributed WITHOUT ANY WARRANTY. Furthermore the autor is in no way responsible for any damage to computer software and/or hardware which may result from your use or misuse of PASW32. Installing and using PASW32 signifies acceptance of the terms and conditions of this license. If you don't agree with this terms or if your juristdiction does not allow the exclusion of warranty and liability as stated above you shall not use this software! If you don't agree with terms and conditions of the license you must remove all the files of the PASW32 package from your storage devices and cease to use this product. ***************************************************************************** IMPORTANT NOTICE ***************************************************************************** "PasW32" is copyrighted by Pasquale Morvillo. DOS, Windows, Delphi, Borland and Turbo Pascal are trademarks or registered trademarks of their respective holders.