To Antonio: moving to harbour.

To Antonio: moving to harbour.

Postby HunterEC » Wed Jul 23, 2014 9: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: Select all  Expand view
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: Select all  Expand view

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: Select all  Expand view
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.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: To Antonio: moving to harbour.

Postby Antonio Linares » Wed Jul 23, 2014 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41205
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: To Antonio: moving to harbour.

Postby HunterEC » Wed Jul 23, 2014 6:38 pm

Antonio:

Sent to your email address. Please reply via email since it is company software. Thank you very much !
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: To Antonio: moving to harbour.

Postby Antonio Linares » Wed Jul 23, 2014 7:50 pm

ok, got it, will do :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41205
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: To Antonio: moving to harbour.

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 41205
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 9 guests