FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problem on error handling
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Problem on error handling
Posted: Mon Jun 04, 2007 09:24 AM
Hello,

Sometimes I got an error like this :

Unrecoverable error 9003:
Too many recursive error handler calls


It is not clear to me when this error occurs. Usually it is a small error which results to this message.

How can such errors be avoided ?

Thanks.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Problem on error handling
Posted: Mon Jun 04, 2007 10:16 AM

Michel,

That error occurs when an error is generated from the error handler itself.

FWH implements its error handler in source\function\errsysw.prg. If an error happens inside errsysw.prg, then the error handler is called recursively and then you get that 9003 error.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Problem on error handling
Posted: Mon Jun 04, 2007 02:48 PM

Antonio,

Thanks a lot for your answer.

It is clear to me now. I changed the errsysw.prg and there must be an error somewhere. I added a utility that the error.log file is automatically mailed to me if an error occurs on the PC of my customers.

So, I have some work to do.

Thanks.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Continue the discussion