home *** CD-ROM | disk | FTP | other *** search
- Paradox Engine 2.0 under Turbo Pascal For Windows
- _____________________________________________________________________________
-
-
- The following documents the differences between the syntax for calling
- Paradox 2.0 functions as found in the Paradox Engine Pascal Reference and
- how they need to be called from Windows.
-
- To compile and run the sample programs, add the following as your uses
- statement:
-
- uses PXEngine, WinCrt;
-
- The function PX is not supported, but you can use the following in the
- sample programs so that they compile and run:
-
- procedure PX(Code : integer);
- begin
- writeln(PXErrMsg(Code));
- and;
-
- You Must use PXWinInit instead of PXInit:
- PX(PXWinInit('MyApp', pxShared));
-
- Data Type Changes:
- NameString needs to be declared as type PChar,
- The type TDate is Longint, and
- FieldHandleArray = array[i..j] of FieldHandle;
- variables of type boolean need to be changed to type Bool, and add
- Uses WinTypes;
-
- fuctions that have a string as a parameter type to a function now
- need a parameter of type pChar. You can use an array[0..N] of char.
- Then use the address of the array for the parameter.
-
- In PXGetDefaults() and PXSetDefaults(), the var SortOrder is of type char
- not pointer, and the SortOrder constants are as follows:
-
- SortOrderAscii = 'a'; { ASCII sort order }
- SortOrderInt = 'i'; { international sort order }
- SortOrderNorDan = 'n'; { Norwegian/Danish sort order }
- SortOrderSwedFin = 's'; { Swedish/Finnish sort order }
-
- PXLoadOverlay function is not implemented in Windows (of Course!).