DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TextAnimator, Delphi7, Run time error: 'Range check error'

 
   Reply to topic    DELPHI AREA Forum Index -> DELPHI AREA's Products
View previous topic :: View next topic  
Author Message
pcman
Member


Joined: 19 Sep 2003
Posts: 18

PostPosted: 19/09/03 02:59    Post subject: TextAnimator, Delphi7, Run time error: 'Range check error' Reply with quote

Hi,

I am getting a run time exception with the TextAnimator component:
ERangeError ( 'Range check error').

It occurs occasionally and sometimes continuously.

There isn't anything unusual i am doing with the component. It just displays the text 'Welcome' with animation.

My environment is WinXP Pro SP1, Delphi 7 Pro.

The debugger stops on line 158 of TextAnim unit which is:
'Perform(WM_ERASEBKGND, DC, 0)'

Any Help?
Thanks.

pcman
Back to top
View user's profile
Johnny_Bit
Junior Member


Joined: 15 Jun 2003
Posts: 95

PostPosted: 19/09/03 06:06    Post subject: Reply with quote

Hmm wierd....

This is what you should do:

1. Disable Range Checking
2. Build Your project
3. Run It
4. If project raises any exception then thi is real problem, not this range check error

If project raised any exception then it means that something is real bad... Put here code where it raises (2 lines befor exception mark, line that is marked as exception, and 2 next lines)
Back to top
View user's profile
pcman
Member


Joined: 19 Sep 2003
Posts: 18

PostPosted: 19/09/03 17:51    Post subject: It Worked! Thanks! Reply with quote

I disabled range checking then i got OverFlow error. So i disabled
OverFlow checking and it worked!

I disabled those checkings in TextAnim unit ({$R-} {$Q-}) but enabled
them in the project in IDE. Everything worked fine.

Would that enabled those checkings for the project and disable them only
in TextAnim unit?

Do you know any other text animation component?

Thanks!
P.S. Good Free GIF/HTML components:
http://www.pbear.com/ http://www.sulako.com/

pcman
Back to top
View user's profile
Display posts from previous:   
   Reply to topic    DELPHI AREA Forum Index -> DELPHI AREA's Products 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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB 2.0.6 © 2001, 2002 phpBB Group