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

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

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

Postby pcman » September 19th, 2003, 2:59 am

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
pcman
Active Member
Active Member
 
Posts: 18
Joined: September 19th, 2003, 1:11 am

Postby Johnny_Bit » September 19th, 2003, 6:06 am

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)
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am

It Worked! Thanks!

Postby pcman » September 19th, 2003, 5:51 pm

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

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
pcman
Active Member
Active Member
 
Posts: 18
Joined: September 19th, 2003, 1:11 am


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 41 guests

cron