FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour -DHB_INCLUDE_WINEXCHANDLER
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
-DHB_INCLUDE_WINEXCHANDLER
Posted: Mon Dec 05, 2005 09:14 AM
From whatsnew.txt:

FWH users: We are building Harbour and xHarbour using the -DHB_INCLUDE_WINEXCHANDLER flag.
If you build Harbour or xHarbour yourself, please use such flag too.


Can you explain better what is that flag and what could happen without it?

Thank you.

EMG
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
-DHB_INCLUDE_WINEXCHANDLER
Posted: Mon Dec 05, 2005 09:37 AM

Enrico,

That flag makes Harbour and xharbour to provide its own GPFs handler.

Up to now, FWH provided its own, but with the recent hb_stack changes, we can't any longer manage hb_stack from outside [x]Harbour.

If you use a Harbour or xHarbour build, built without such flag, if a GPF happens, then you will not get any information (calls stack) for it.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
-DHB_INCLUDE_WINEXCHANDLER
Posted: Mon Dec 05, 2005 09:56 AM

Perfectly clear.

Thank you.

EMG

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
-DHB_INCLUDE_WINEXCHANDLER
Posted: Mon Dec 05, 2005 09:59 AM

Other than building [x]Harbour using that flag, do we need to add it in the link script of our applications too?

EMG

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
-DHB_INCLUDE_WINEXCHANDLER
Posted: Mon Dec 05, 2005 10:48 AM

Enrico,

>
Other than building [x]Harbour using that flag, do we need to add it in the link script of our applications too?
>

No. Just when building Harbour/xHarbour.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
-DHB_INCLUDE_WINEXCHANDLER
Posted: Mon Dec 05, 2005 10:57 AM

Ok, thank you.

EMG

Continue the discussion