ErrorSys

Post Reply
User avatar
wpacheco
Posts: 28
Joined: Tue Nov 15, 2005 1:03 am
Location: Isla Margarita, Venezuela
Contact:

ErrorSys

Post by wpacheco »

Dear friends:

I was looking some post here and found an Antonio suggest that says we can read the MAP file if we've get memory address error. My app is showing an error at the 0x0045e47f memory address. In the MAP file the closer lines are:

0001:00045EEC _hb_macroTextValue
0001:00045EEC _hb_macroTextValue

I know what the error is and its cause, but the question is why the ErrorSys procedure isn't catching the errors and only get this dialog error that end the app suddenly.

Thanks for your comments
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

William,

Are you building harbour/xharbour yourself ? If so please use -DHB_INCLUDE_WINEXCHANDLER

You should get a calls stack Msg on the screen.

Do you have a sample to reproduce the problem ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
wpacheco
Posts: 28
Joined: Tue Nov 15, 2005 1:03 am
Location: Isla Margarita, Venezuela
Contact:

Post by wpacheco »

Well my friends

I found the problem source. Some piece of code from a fivewin contributor I'm using, declare a new error object like this

bNewError := {|oError| ErrorHandler(oError,.T.) }
bOldError := Errorblock(bNewError)

I forget to restore the old error object

Errorblock(bOldError)

and you know... two weeks with a headache...

Now I smile of my fault

Thanks Antonio and everybody
Post Reply