Hi.

> Call Terminate and exit properly ?
> TCustomApplication has an exitcode property which will set the global exit
> code.

This feature either undocumented or I am just too stupid to find it. Mind if I
ask you to point me directly to the documentation?

I believe it would have to be something as follows:

ph.Terminate(ExitCode);
ph.Free;

if  I  am reading you correctly. Currently, if I call Terminate(1), it
compiles with following error:

 Error: Wrong number of parameters specified for call to "Terminate"

Would appreciate any help.

Ɓukasz

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to