Recompile TWBRW32X.LIB problem **Fixed**

Recompile TWBRW32X.LIB problem **Fixed**

Postby dutch » Tue Jun 14, 2016 1: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: Select all  Expand view
xHarbour 1.2.3 Intl. (SimpLex) (Build 20150603)
Copyright 1999-2015, http://www.xharbour.org http://www.harbour-project.org/
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 http://www.harbour-project.org/
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.
 
Last edited by dutch on Wed Jun 15, 2016 3:37 am, edited 1 time in total.
Regards,
Dutch

FWH 19.01 / 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)
User avatar
dutch
 
Posts: 1535
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: Recompile TWBRW32X.LIB problem

Postby Silvio.Falconi » Tue Jun 14, 2016 9: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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Recompile TWBRW32X.LIB problem

Postby dutch » 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 19.01 / 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)
User avatar
dutch
 
Posts: 1535
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: Recompile TWBRW32X.LIB problem

Postby Silvio.Falconi » Tue Jun 14, 2016 4:34 pm

Dutch,

Image

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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Recompile TWBRW32X.LIB problem

Postby dutch » Wed Jun 15, 2016 3:37 am

Dear Silvio,

I've fixed already, thanks for your help.
Regards,
Dutch

FWH 19.01 / 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)
User avatar
dutch
 
Posts: 1535
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 82 guests