home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
pascal
/
library
/
windows
/
pdoxeng
/
init.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1994-04-11
|
316b
|
18 lines
program Init;
uses PXEngine, WinCrt;
var PxErr: Integer;
procedure PX(Code : integer);
begin
writeln(PXErrMsg(Code));
end;
begin
(* Attempt to initialize the Engine *)
PxErr := PXWinInit('MyApp', pxShared);
if PxErr <> PxSuccess then
Writeln(PxErrMsg(PxErr))
else PX(PXExit);
end.