When the program quits, it issues an error msg 204. I click ok, and I get a
Debugger Fault Notification:
"Project ... raised too many consecutive exceptions: 'access violation
at xxx .."
I stepped through the pgm with the debugger. It ran apparently normally,
right through Application.Run. After exiting this, the debugger took me to
the last line of the project file. When I pressed F8, I got the above msg.
Jeremy
> "Project ... raised too many consecutive exceptions: 'access
> violation at xxx .."
From my experience this sort of error occurs when an object is freed
and you try to call a method on it, usually from a dangling interface
pointer.
Advice: put a breakpoint in a finalization section that executes before
the exception and single-step all finalizations using F7 (step into) to
locate the offending line.
I've traced this to _Halt0 in system.pas, very near the end. The error
happens on the line
ExitProcess(ExitCode);
Unfortunately, the debugger doesn't step into this, but throws the 204 error
msg.
Do you have any idea what goes on in this? The comments in the code seem to
say that not much happens here.
Jeremy
"Constantine Yannakopoulos" <ky...@deltasingular.remove.this.gr> wrote in
message news:3e9bdb00$1...@newsgroups.borland.com...
Jeremy
"Jeremy" <jer...@ninprodata.com> wrote in message
news:3e9b0e07$4...@newsgroups.borland.com...