FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour To Antonio: moving to harbour.
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
To Antonio: moving to harbour.
Posted: Wed Jul 23, 2014 09:38 AM
Antonio:

I'm moving an old, big, text program (over 25,000 lines) from 16bit to 32bit. Reports are almost complete (graphical). The data entry will remain on this iteration, text based. I'm using xHarbour but I'm banging my head against the wall with, which I think are, unexpected behavior / bugs. For example:

Code (fw): Select all Collapse
FUNCTION InvBalan (cPartNo, nQty)
    #include "Tablefld.ch"   (this file has a statement: FIELD Inv_qty IN Parts)
.
.
    REPLACE Inv_qty WITH Iv_qty + nQty
.
.

RETURN .T.


Everything compiles ok (all PRGs), but at runtime I'm getting:
Code (fw): Select all Collapse
Subsystem Call ....: BASE
System Code .......: 1003
Default Status ....: .F.
Description .......: Variable does not exist
Operation .........: INV_QTY
Arguments .........: 
Involved File .....: 

xHarbour version...: xHarbour 1.2.3 Intl. (SimpLex) (Build 20131030)
xHarbour built on..: Aug 22 2013 08:16:17
C/C++ compiler.....: Pelles ISO C Compiler 3.0 (32 bit)
Multi Threading....: YES
VM Optimization....: 2


Under 16bit this works with no problem at all. Now, the ONLY reason that I use xHarbour is that via the xBuild tool I'm able to put all PRGs (over 40) and compile them as a whole. Some of them share the same procedure / function names which are only relevant to the PRG that they're in (STATICs), so I can't #include them from other PRG.

I need a way to compile this with harbour in a way similar to the old Rmake tool:
Code (fw): Select all Collapse
Rmake Project /dVAR1 /dVAR2...


Being honest with you, don't have a clue on how to make this. I have to finish this project in less than a month.
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: To Antonio: moving to harbour.
Posted: Wed Jul 23, 2014 09:44 AM

Gustavo,

If you send me your xBuild project file I will build, with pleasure, a really good makefile that you will enjoy to use very much :-)

it will be incredibly easy to use :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Re: To Antonio: moving to harbour.
Posted: Wed Jul 23, 2014 06:38 PM

Antonio:

Sent to your email address. Please reply via email since it is company software. Thank you very much !

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: To Antonio: moving to harbour.
Posted: Wed Jul 23, 2014 07:50 PM

ok, got it, will do :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: To Antonio: moving to harbour.
Posted: Wed Jul 23, 2014 10:54 PM

Gustavo,

Already sent to your email.

Now you can drop xBuild and just call go.bat and you will be using a great makefile for your app :-)

As I have not tested it (as I don't have your files here) please run it and let me know if you get any error or something is missing, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion