Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Sep : Hot to find location to an Exception
| Subject: | Hot to find location to an Exception |
| Posted by: | "Rainer Queck" (rainer.que..@gmx.de) |
| Date: | Tue, 25 Sep 2007 10:14:12 |
Hi NG,
on terminating my application - developed with D5 - a exception is thrown:
>
Exception EAccessViolation in Module <myApp>.exe at 00000000
Access violation at address 00000000. Read from address 00000000
<
The address is really shown as 00000000 this time, but when ever I
start/stop my app, the address varies.
I have tried to use Try/Except on all form destroy methods but they don't
catch the exception.
Also what i find strange is:
- I set a breakpoint at "Application.Run;"
- start my program -> debugger stops at breakpoint
- step forward with F8 -> application starts
- terminate my app -> debugger stops on the following "End." <- yes the
point
- continue debugging with F8
- the exception comes up
- press OK on exception dialog
- application ends.
So it looks to me, that the exception occures outside the area, where
Try/Except works...
I could really use some help on finding the location of the exception.
Regards
Rainer Queck