Re: access violation
- From: Andreas Koch <nospam@xxxxxxxxxxxxxxx>
- Date: Sat, 28 Oct 2006 18:40:51 +0200
FrancoJommi wrote:
This is a challenge ! Can't find the reason I get this error. It happens on
the statement "MyDataset.Last". The program simply exits to Winfows.
Executing it in the IDE, it gives the complicated message ".. access
violation at xxxx; read of address..".
Probably you freed either the form or one of the components
(form.close depending on close mode; component.free) without setting
the reference to nil.
After that you have an pointer pointing to random data, so any
access to it can give good data, can give bad data, or can cause an access violation.
.
- References:
- access violation
- From: FrancoJommi
- access violation
- Prev by Date: access violation
- Next by Date: Newbie looking for info on basic graphics with Delphi.
- Previous by thread: access violation
- Next by thread: Newbie looking for info on basic graphics with Delphi.
- Index(es):