FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Recompile TWBRW32X.LIB problem **Fixed**
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Recompile TWBRW32X.LIB problem **Fixed**
Posted: Tue Jun 14, 2016 01:54 AM
Dear All,

I've try to recompile but it has many error in WBRWLINE.C code. I use xHarbour 1.2.3/FWH1509.
How can I fix it?
Code (fw): Select all Collapse
xHarbour 1.2.3 Intl. (SimpLex) (Build 20150603)
Copyright 1999-2015, http://www.xharbour.org <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m -->
Compiling 'SOURCE\WBROWSE.PRG'...
Generating C source output to 'OBJ\WBROWSE.C'...
Done.

Lines 4098, Functions/Procedures 72, pCodes 15450
xHarbour 1.2.3 Intl. (SimpLex) (Build 20150603)
Copyright 1999-2015, http://www.xharbour.org <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m -->
Compiling 'SOURCE\TMULTISE.PRG'...
Generating C source output to 'OBJ\TMULTISE.C'...
Done.

Lines 198, Functions/Procedures 6, pCodes 897
Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.
OBJ\WBROWSE.C:
Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.
OBJ\TMULTISE.C:
Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.
SOURCE\WBRWLINE.C:
Warning W8065 SOURCE\WBRWLINE.C 669: Call to function '_param' with no prototype in function HB_FUN_WBRWSELBOX
Warning W8069 SOURCE\WBRWLINE.C 669: Nonportable pointer conversion in function HB_FUN_WBRWSELBOX
Warning W8065 SOURCE\WBRWLINE.C 752: Call to function '_param' with no prototype in function HB_FUN_WBRWLINE
Warning W8069 SOURCE\WBRWLINE.C 752: Nonportable pointer conversion in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 764: Call to function '_param' with no prototype in function HB_FUN_WBRWLINE
Warning W8069 SOURCE\WBRWLINE.C 764: Nonportable pointer conversion in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 812: Call to function '_param' with no prototype in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 812: Call to function '_param' with no prototype in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 814: Call to function '_param' with no prototype in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 817: Call to function '_param' with no prototype in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 818: Call to function '_param' with no prototype in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 823: Call to function '_param' with no prototype in function HB_FUN_WBRWLINE
Error E2342 SOURCE\WBRWLINE.C 824: Type mismatch in parameter 'pAtext' (wanted '_HB_ITEM *', got 'int') in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 835: Call to function '_reta' with no prototype in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 867: Call to function '_reta' with no prototype in function HB_FUN_AWBRWROWDIM
Warning W8065 SOURCE\WBRWLINE.C 969: Call to function '_reta' with no prototype in function HB_FUN_WBRWRECT
Warning W8065 SOURCE\WBRWLINE.C 1005: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Warning W8069 SOURCE\WBRWLINE.C 1005: Nonportable pointer conversion in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1006: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Warning W8069 SOURCE\WBRWLINE.C 1006: Nonportable pointer conversion in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1007: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Warning W8069 SOURCE\WBRWLINE.C 1007: Nonportable pointer conversion in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1025: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Warning W8069 SOURCE\WBRWLINE.C 1025: Nonportable pointer conversion in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1034: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Warning W8069 SOURCE\WBRWLINE.C 1034: Nonportable pointer conversion in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1043: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Warning W8069 SOURCE\WBRWLINE.C 1043: Nonportable pointer conversion in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1173: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1174: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1178: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Error E2342 SOURCE\WBRWLINE.C 1179: Type mismatch in parameter 'pTextColor' (wanted '_HB_ITEM *', got 'int') in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1653: Call to function '_reta' with no prototype in function HB_FUN_FWDISPBEGIN
*** 2 errors in Compile ***
TLIB 6.4 Copyright (c) 1987-2014 Embarcadero Technologies, Inc.
TLIB 6.4 Copyright (c) 1987-2014 Embarcadero Technologies, Inc.
Warning: 'OBJ\WBRWLINE.OBJ' file not found
TLIB 6.4 Copyright (c) 1987-2014 Embarcadero Technologies, Inc.
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Recompile TWBRW32X.LIB problem
Posted: Tue Jun 14, 2016 09:35 AM

you must compile (xharbour) with

HARBOUR;HB_API_MACROS;HB_FM_STATISTICS_OFF

with bcc7 is ok

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: Recompile TWBRW32X.LIB problem
Posted: Tue Jun 14, 2016 10:16 AM
Dear Silvio,

It doesn't work and still got the same error. It seem the parameter is incorrect type.
Silvio.Falconi wrote:you must compile (xharbour) with

__HARBOUR__;HB_API_MACROS;HB_FM_STATISTICS_OFF

with bcc7 is ok
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Recompile TWBRW32X.LIB problem
Posted: Tue Jun 14, 2016 04:34 PM
Dutch,



I'm using Fwh 16.03
I compiled it with bcc7
I create the lib xWbrowse with xmate with the parameter I wrote you

I try with fwbrow.prg fivetech sample test ( c:\fwh\samples\) .... here run ok !!!!!
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: Recompile TWBRW32X.LIB problem
Posted: Wed Jun 15, 2016 03:37 AM

Dear Silvio,

I've fixed already, thanks for your help.

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)

Continue the discussion