On Tue, August 5, 2014 02:00, waldo kitty wrote:
back in the [g]?olden days of TP6, i used to be able to set an exitproc
procedure that would be executed any time my program exited for any
reason...
something like
exitproc := @myexitproc;
is this still able to be done easily? does it
is this still able to be done easily?
No difference I guess:
http://www.freepascal.org/docs-html/rtl/system/exitproc.html
However, this is better:
http://www.freepascal.org/docs-html/rtl/system/addexitproc.html
does it work even if there's an untrapped exception?
Just try it
--
View this
On 8/5/2014 3:29 AM, Tomas Hajny wrote:
On Tue, August 5, 2014 02:00, waldo kitty wrote:
back in the [g]?olden days of TP6, i used to be able to set an exitproc
procedure that would be executed any time my program exited for any
reason...
something like
exitproc := @myexitproc;
is this
On 8/5/2014 12:51 PM, leledumbo wrote:
is this still able to be done easily?
No difference I guess:
http://www.freepascal.org/docs-html/rtl/system/exitproc.html
However, this is better:
http://www.freepascal.org/docs-html/rtl/system/addexitproc.html
thanks for the pointers! i was extremely
back in the [g]?olden days of TP6, i used to be able to set an exitproc
procedure that would be executed any time my program exited for any reason...
something like
exitproc := @myexitproc;
is this still able to be done easily? does it work even if there's an untrapped
exception?
--
If I compile and run my example program and then press Crtl+C the
program terminates. I would expect that it terminate by calling
CloseServer procedure, but it dos not. If the program terminates
normally (time runs out) the CloseServer procedure is called as
expected.
Have I misunderstood
On 29 jun 2006, at 13:51, Carsten Bager wrote:
If I compile and run my example program and then press Crtl+C the
program terminates. I would expect that it terminate by calling
CloseServer procedure, but it dos not. If the program terminates
normally (time runs out) the CloseServer procedure
On Thu, 29 Jun 2006, Jonas Maebe wrote:
On 29 jun 2006, at 13:51, Carsten Bager wrote:
If I compile and run my example program and then press Crtl+C the
program terminates. I would expect that it terminate by calling
CloseServer procedure, but it dos not. If the program terminates
normally
Michael Van Canneyt wrote:
On Thu, 29 Jun 2006, Jonas Maebe wrote:
On 29 jun 2006, at 13:51, Carsten Bager wrote:
If I compile and run my example program and then press Crtl+C the
program terminates. I would expect that it terminate by calling
CloseServer procedure, but it dos not. If the