FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour error upgrade from fwh7.11 to fwh9.10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: error upgrade from fwh7.11 to fwh9.10
Posted: Tue Nov 17, 2009 11:28 AM

Ac Woo,

We have not received it yet.

Please send it renamed as *.zop so gmail accepts it, thanks :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
Re: error upgrade from fwh7.11 to fwh9.10
Posted: Tue Nov 17, 2009 01:20 PM

Sent again.

Thanks

Please help

Regards

AC Woo
using fwh9.10+harbour+bcc55

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: error upgrade from fwh7.11 to fwh9.10
Posted: Tue Nov 17, 2009 02:20 PM

Ac Woo,

Got it. All you have to change is:

instead of dbfntx use rddntx:

!if $(LNK_RDDNTX) == YES
@echo $(RDDNTX_LIB) + >> make.tmp
!endif

Here ecs.exe got properly built :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
Re: error upgrade from fwh7.11 to fwh9.10
Posted: Wed Nov 18, 2009 07:31 AM

Thanks for your help

My exe still does not launch after I amended the make file as recommeded. Please could I have the changes.

Please help

Thanks

Regards

AC Woo
using fwh9.10+harbour+bcc55

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: error upgrade from fwh7.11 to fwh9.10
Posted: Wed Nov 18, 2009 10:22 AM

AC Woo,

Already sent to your email :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
Re: error upgrade from fwh7.11 to fwh9.10
Posted: Thu Nov 19, 2009 11:57 AM

Thanks for your help

I tried to link a new prg (new1.prg) to the make file received from you. But the main prg (ecs.prg) does not call the function from this new1.prg. How do I solve the problem.

(Changes sent in .zop)

Please help

Thanks

Regards

AC Woo
using fwh9.10+harbour+bcc55

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: error upgrade from fwh7.11 to fwh9.10
Posted: Thu Nov 19, 2009 01:00 PM

Ac Woo,

Please email me your modified ecs.prg and new1.prg, thanks :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
Re: error upgrade from fwh7.11 to fwh9.10
Posted: Fri Nov 20, 2009 07:58 AM

Thanks for your help

I could run the prgs attached using the make file for 7.11. I have a line in my old make file which will ignore
ambiguous reference.

I changed from:
// HARBOUR_FLAGS = -i$(APP_INCLUDE_DIR);$(FIVEWIN_INCLUDE_DIR);$(HARBOUR_INCLUDE_DIR) -n -m -w -es2 -gc0

to:

HARBOUR_FLAGS = -i$(APP_INCLUDE_DIR);$(FIVEWIN_INCLUDE_DIR);$(HARBOUR_INCLUDE_DIR) -n -m -w -es2 -gc0 -w0

and it will compile and run the exe ignoring ambiguous reference.

How do I modify the make file you send to ignore ambiguous reference.

(Please find new .zop file with prg and lib attached in your email)

Please help

Thanks

AC Woo
using fwh9.10+harbour+bcc55

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: error upgrade from fwh7.11 to fwh9.10
Posted: Fri Nov 20, 2009 09:41 AM
Ac Woo,

$(HBDIR)\bin\harbour $< /L /N /W0 /I$(FWDIR)\include;$(HBDIR)\include
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
Re: error upgrade from fwh7.11 to fwh9.10
Posted: Mon Nov 23, 2009 03:48 AM

Thanks for your help

I need help for this file. It compile and produces an exe but does not run

http://www.mediafire.com/?ynmjzjyrzdg

Please help

Thanks

AC Woo
Using fwh9.10+harbour=bcc55

Posts: 169
Joined: Mon Feb 25, 2008 02:42 AM
Re: error upgrade from fwh7.11 to fwh9.10
Posted: Mon Nov 23, 2009 08:09 AM

Ac Woo,

You have to change your DOS style clipper source code..

Regards
Fafi

Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
Re: error upgrade from fwh7.11 to fwh9.10
Posted: Mon Nov 23, 2009 10:39 AM

Thanks Fafi

I have other programs compiled using fwh 7.11 and 9.10 with no problem. They can be compiled and executed. I need help
for this because the exe produced does not start.

Thanks

Regards

AC Woo
using fwh9.10+harbour+bcc55

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: error upgrade from fwh7.11 to fwh9.10
Posted: Mon Nov 23, 2009 12:33 PM

Ac Woo,

Maybe you are linking an old Harbour library, because the crash seems to happen on the startup of the EXE, even before Main() is called.

Please check that you are using updated versions of all the libraries that you are linking. If you build and link with xHarbour, it would help as xHarbour checks for different pcode versions in libraries.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
Re: error upgrade from fwh7.11 to fwh9.10
Posted: Mon Nov 23, 2009 02:08 PM

Thanks for your help

I use the same lib for my other programs. They compile and run ok.

Thanks

Please help

Regards

AC Woo
using fwh9.10+harbour+bcc55

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: error upgrade from fwh7.11 to fwh9.10
Posted: Mon Nov 23, 2009 03:48 PM
AcWoo,

I have cleaned your project from unused files, in a try to locate the problem. Here you have the simpler version:

http://www.mediafire.com/?2m2l1t2ma5m

But what I have found with great surprise is that it seems as a Harbour compiler bug, as your PRG files are extremelly large, so Harbour seems to be failing. I have been able to conclude this as I saw that a hb_out.log file was getting created but it was empty, so I replaced the internal error function with this one:
Code (fw): Select all Collapse
#pragma BEGINDUMP

#include <windows.h>

void hb_errInternalRaw( ULONG ulIntCode, const char * szText, const char * szPar1, const char * szPar2 )
{
   MessageBox( 0, szText, szPar1, 0 );
}

#pragma ENDDUMP

And see the error that I get when your EXE starts:

The pcode seems to be corrupted. You have PRGs with more than 32.000 lines. It could be that Harbour has a bug when it tries to compile such large files.

It may not be the amount of lines, maybe it is the size of a specific function. Anyhow, the pcode seems corrupted.

My advise is that you split those so large PRGs into smaller ones and try again. That would probably may solve the problem. This is a difficult error to be reported to the Harbour developers mailing list, as seems as a quite difficult to reproduce error.
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion