User`s guide

Universal Library User's Guide Universal Library Description and Use
18
Delphi example programs
A complete set of Delphi example programs is included in the DELPHI folder of the Universal Library
installation directory. Each program illustrates the use of one Universal Library function from within a Delphi
program. The .PAS files contain the programs. The corresponding .DPR file is the Project file used to build
the program in a 32-bit Delphi environment.
In 32-bit Delphi environments use the cbw32.dll header. Where integers are passed by reference to a
Universal Library function, use the SmallInt data type in 32-bit environments. The relevant functions are
defined this way in the 32-bit header, so if you try to pass an Integer data type you will get a compiler error.