BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

what's wrong?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
harrycat
Guest





PostPosted: Wed Apr 21, 2004 2:18 am    Post subject: what's wrong? Reply with 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?


Back to top
Eelke Klein
Guest





PostPosted: Wed Apr 21, 2004 6:34 am    Post subject: Re: what's wrong? Reply with quote



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





PostPosted: Wed Apr 21, 2004 9:16 am    Post subject: Re: what's wrong? Reply with quote




"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





PostPosted: Wed Apr 21, 2004 10:52 am    Post subject: Re: what's wrong? Reply with quote


"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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.