FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Abnormal Program Termination (->Antonio)
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Abnormal Program Termination (->Antonio)
Posted: Sat Sep 05, 2009 11:35 AM

With new FWH- and Harbour version i becomes in some cases the message "Abnormal Program Termination" or the program hangs. But the same part of the program on next start is OK. I dont know, this behavior is from FWH or from Harbour.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Abnormal Program Termination (->Antonio)
Posted: Sat Sep 05, 2009 01:22 PM

Günther,

Could you build it using xHarbour so we may know if it is a compiler or a FWH issue ? thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Abnormal Program Termination (->Antonio)
Posted: Mon Sep 07, 2009 08:22 AM

I will test this. Is the make file and libs for xharbour the same as from harbour. (paths self-explanatory!)

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Abnormal Program Termination (->Antonio)
Posted: Mon Sep 07, 2009 09:07 AM

Günther,

Please review FWH\samples\buildx.bat

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Abnormal Program Termination (->Antonio)
Posted: Mon Sep 07, 2009 01:33 PM

Antonio, now in xharbour i see many errors "Call to function hb_xvmExitProc with no prototype in function ....".
Whats wrong in my make?

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Abnormal Program Termination (->Antonio)
Posted: Mon Sep 07, 2009 02:03 PM

Günther,

What xHarbour version and build are you using ?

Where have you downloaded it from ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Abnormal Program Termination (->Antonio)
Posted: Mon Sep 07, 2009 02:45 PM

Antonio, the xharbour-version you provided with 9.08!
(build 1.2.1 (Simplex) (Rev. 6406)

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Abnormal Program Termination (->Antonio)
Posted: Mon Sep 07, 2009 03:33 PM

Günther,

Are you able to reproduce that error building a FWH\samples PRG using xharbour ? thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Abnormal Program Termination (->Antonio)
Posted: Tue Sep 08, 2009 10:36 AM

Antonio, I found the bad thing!! :D
In my program i compile and link extra the modified xbrowse.prg with the last changes. If I not linked xbrowse.prg all is ok!

And a other lib should linked in the program: codepage.lib. In your makefile this lib is not available!

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Abnormal Program Termination (->Antonio)
Posted: Tue Sep 08, 2009 10:52 AM

Günther,

Is the problem already solved ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Abnormal Program Termination (->Antonio)
Posted: Tue Sep 08, 2009 11:05 AM

Antonio, it seems that the problem with "abnormal...." is not present with Xharbour!

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Abnormal Program Termination (->Antonio)
Posted: Tue Sep 08, 2009 01:33 PM

Antonio, the problem with the hb_xvmExitProc is ONLY, if the xharbour -gc3 command line option is activated and i compile also the xbrowse.prg to my app! In harbour is this option ok.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Abnormal Program Termination (->Antonio)
Posted: Tue Sep 08, 2009 01:35 PM

Günther,

Why do you think that report.ch causes the trouble and not the modified xbrowse.prg ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Abnormal Program Termination (->Antonio)
Posted: Tue Sep 08, 2009 01:47 PM
Regards,
Günther
---------------------------------
office@byte-one.com

Continue the discussion