| View previous topic :: View next topic |
| Author |
Message |
harrycat Guest
|
Posted: Wed Apr 21, 2004 2:18 am Post subject: what's wrong? |
|
|
when i run the project in c++builder ,i receive the error message?
Access violation at address 400EE72E in module 'vcl60.bpl'.Read of address
000002EC.
why? and what can i do?
|
|
| Back to top |
|
 |
Eelke Klein Guest
|
Posted: Wed Apr 21, 2004 6:34 am Post subject: Re: what's wrong? |
|
|
harrycat wrote:
| Quote: | when i run the project in c++builder ,i receive the error message?
Access violation at address 400EE72E in module 'vcl60.bpl'.Read of address
000002EC.
why? and what can i do?
This is normally caused by making a mistake with some pointer or writing |
beyond the end of an array. Use the debugger and/or codeguard to debug
your program.
Eelke
|
|
| Back to top |
|
 |
JD Guest
|
Posted: Wed Apr 21, 2004 9:16 am Post subject: Re: what's wrong? |
|
|
"harrycat" <harrycat (AT) 163 (DOT) net> wrote:
| Quote: | when i run the project in c++builder ,i receive the error message?
Access violation at address 400EE72E in module 'vcl60.bpl'.Read of address
000002EC.
why?
|
Eelke is correct and more specifically, since the AV occures
in vcl60.bpl, what most likely is happening is that a class
method is being called before the object has been constructed
or after the object has been deleted.
| Quote: | and what can i do?
|
The most common reason this happens is when one uses OnCreate
and/or OnDestroy. If you are using either of those events -
don't:
http://www.bcbdev.com/articles/suggest.htm#oncreate
Otherwise you'll need to use some sort of debugging method to
isolate the problem and post a more specific question.
~ JD
|
|
| Back to top |
|
 |
george Guest
|
Posted: Wed Apr 21, 2004 10:52 am Post subject: Re: what's wrong? |
|
|
"harrycat" <harrycat (AT) 163 (DOT) net> wrote:
............
One thing that is wrong is that you have entered a meanigless
title in the subject box.
george
|
|
| Back to top |
|
 |
|