re-compiling Hernan's Twbrowse with FWH 908

re-compiling Hernan's Twbrowse with FWH 908

Postby Rick Lipkin » Fri Sep 04, 2009 5:26 pm

To All

Having difficulty re-compiling Hernan's TwBrowse class using the FWH 908 with the same batch file I have always used

Code: Select all  Expand view

@ECHO OFF
CLS

c:\xharbour\bin\harbour SOURCE\WBROWSE.PRG /n /i\fwh908\include;c:\xharbour\include /oOBJ\WBROWSE.C
c:\xharbour\bin\harbour SOURCE\TMULTISE.PRG /n /i\fwh908\include;c:\xharbour\include /oOBJ\TMULTISE.C

c:\borland\bcc55\bin\bcc32 -M -c -D__HARBOUR__ -Ic:\xharbour\include  -oOBJ\WBROWSE.OBJ  OBJ\WBROWSE.C
@del OBJ\WBROWSE.c
c:\borland\bcc55\bin\bcc32 -M -c -D__HARBOUR__ -Ic:\xharbour\include  -oOBJ\TMULTISE.OBJ  OBJ\TMULTISE.C
@del OBJ\TMULTISE.c

c:\borland\bcc55\bin\bcc32 -M -c -D__HARBOUR__ -Ic:\xharbour\include;c:\fwh908\include -oOBJ\WBRWLINE.OBJ  SOURCE\WBRWLINE.C

@del LIB\TWBRW32.LIB

c:\borland\bcc55\bin\tlib c:\twbNOADS\lib\TWBRW32.LIB + OBJ\WBROWSE.OBJ
c:\borland\bcc55\bin\tlib c:\twbNOADS\lib\TWBRW32.LIB + OBJ\WBRWLINE.OBJ
c:\borland\bcc55\bin\tlib c:\twbNOADS\lib\TWBRW32.LIB + OBJ\TMULTISE.OBJ

 


Here are the errors :

Code: Select all  Expand view

xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'SOURCE\WBROWSE.PRG'...

Lines 4113, Functions/Procedures 72
Generating C source output to 'OBJ\WBROWSE.C'...
Done.
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'SOURCE\TMULTISE.PRG'...

Lines 198, Functions/Procedures 6
Generating C source output to 'OBJ\TMULTISE.C'...
Done.
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
OBJ\WBROWSE.C:
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
OBJ\TMULTISE.C:
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
SOURCE\WBRWLINE.C:
Warning W8065 SOURCE\WBRWLINE.C 677: Call to function '_param' with no prototype in function HB_FUN_WBRWSELBOX
Warning W8069 SOURCE\WBRWLINE.C 677: Nonportable pointer conversion in function HB_FUN_WBRWSELBOX
Warning W8065 SOURCE\WBRWLINE.C 760: Call to function '_param' with no prototype in function HB_FUN_WBRWLINE
Warning W8069 SOURCE\WBRWLINE.C 760: Nonportable pointer conversion in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 772: Call to function '_param' with no prototype in function HB_FUN_WBRWLINE
Warning W8069 SOURCE\WBRWLINE.C 772: Nonportable pointer conversion in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 820: Call to function '_param' with no prototype in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 820: Call to function '_param' with no prototype in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 822: Call to function '_param' with no prototype in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 825: Call to function '_param' with no prototype in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 826: Call to function '_param' with no prototype in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 831: Call to function '_param' with no prototype in function HB_FUN_WBRWLINE
Error E2342 SOURCE\WBRWLINE.C 832: Type mismatch in parameter 'pAtext' (wanted '_HB_ITEM *', got 'int') in function HB_FUN_WBRWLINE
Error E2342 SOURCE\WBRWLINE.C 832: Type mismatch in parameter 'pAsizes' (wanted '_HB_ITEM *', got 'int') in function HB_FUN_WBRWLINE
Error E2342 SOURCE\WBRWLINE.C 832: Type mismatch in parameter 'pAJustify' (wanted '_HB_ITEM *', got 'int') in function HB_FUN_WBRWLINE
Error E2342 SOURCE\WBRWLINE.C 832: Type mismatch in parameter 'pTextColor' (wanted '_HB_ITEM *', got 'int') in function HB_FUN_WBRWLINE
Error E2342 SOURCE\WBRWLINE.C 832: Type mismatch in parameter 'pBkColor' (wanted '_HB_ITEM *', got 'int') in function HB_FUN_WBRWLINE
Error E2342 SOURCE\WBRWLINE.C 832: Type mismatch in parameter 'pFont' (wanted '_HB_ITEM *', got 'int') in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 843: Call to function '_reta' with no prototype in function HB_FUN_WBRWLINE
Warning W8065 SOURCE\WBRWLINE.C 875: Call to function '_reta' with no prototype in function HB_FUN_AWBRWROWDIM
Warning W8065 SOURCE\WBRWLINE.C 977: Call to function '_reta' with no prototype in function HB_FUN_WBRWRECT
Warning W8065 SOURCE\WBRWLINE.C 1013: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Warning W8069 SOURCE\WBRWLINE.C 1013: Nonportable pointer conversion in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1014: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Warning W8069 SOURCE\WBRWLINE.C 1014: Nonportable pointer conversion in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1015: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Warning W8069 SOURCE\WBRWLINE.C 1015: Nonportable pointer conversion in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1033: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Warning W8069 SOURCE\WBRWLINE.C 1033: Nonportable pointer conversion in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1042: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Warning W8069 SOURCE\WBRWLINE.C 1042: Nonportable pointer conversion in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1051: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Warning W8069 SOURCE\WBRWLINE.C 1051: Nonportable pointer conversion in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1181: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1182: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1186: Call to function '_param' with no prototype in function HB_FUN_WBRWPANE
Error E2342 SOURCE\WBRWLINE.C 1187: Type mismatch in parameter 'pTextColor' (wanted '_HB_ITEM *', got 'int') in function HB_FUN_WBRWPANE
Error E2342 SOURCE\WBRWLINE.C 1187: Type mismatch in parameter 'pBkColor' (wanted '_HB_ITEM *', got 'int') in function HB_FUN_WBRWPANE
Error E2342 SOURCE\WBRWLINE.C 1187: Type mismatch in parameter 'pFont' (wanted '_HB_ITEM *', got 'int') in function HB_FUN_WBRWPANE
Warning W8065 SOURCE\WBRWLINE.C 1662: Call to function '_reta' with no prototype in function HB_FUN_FWDISPBEGIN
*** 9 errors in Compile ***
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
Warning: 'OBJ\WBRWLINE.OBJ' file not found
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
 


I am at a loss here

Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2642
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: re-compiling Hernan's Twbrowse with FWH 908

Postby Rick Lipkin » Fri Sep 04, 2009 5:51 pm

To All

Apparently there have been many modifications to the include files .. I re-installed fwh904 and re-created Hernan's library ..

This is going to be a problem for some if there is a xHarbour pCode change anytime soon and those that are using the newer FWH libraries.

Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2642
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: re-compiling Hernan's Twbrowse with FWH 908

Postby TimStone » Fri Sep 04, 2009 7:24 pm

That is the main reason I'm converting all my tsbrowse code to xbrowse. 3rd party products are too hard to maintain with the changes, and the newer code reflects work by many people which makes it more powerful. Also, bug fixes come more rapidly, and the user base is large enough to catch little problems quickly.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2909
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: re-compiling Hernan's Twbrowse with FWH 908

Postby Colin Haig » Thu Sep 10, 2009 3:11 am

Hi Rick

Did you have any luck with this issue - I use Hernans browse all through my projects.

Cheers

Colin
Colin Haig
 
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Re: re-compiling Hernan's Twbrowse with FWH 908

Postby Antonio Linares » Thu Sep 10, 2009 6:25 am

Rick,

Please rename all _par... _stor... and _ret... functions calls with "hb" in front:
hb_par..., hb_stor... and hb_ret...
regards, saludos

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

Re: re-compiling Hernan's Twbrowse with FWH 908

Postby StefanHaupt » Thu Sep 10, 2009 6:29 am

Rick,

the error only occurs compiling wbrwline.c, so you can use the obj-file created using the include files of an older xharbour release. All prg-files can be compiled with the last xharbour.

All c-files are not affected by pcode changes, because they are only compiled with bcc.
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: re-compiling Hernan's Twbrowse with FWH 908

Postby Rick Lipkin » Thu Sep 10, 2009 2:04 pm

Thanks for the suggestions .. I just switched jobs to another large state gov agency .. I missed taking a few of my 3rd party libs with me and had to re-create them.

The quick work around was to use the FWH904 libs and I was able to re-create my library .. but I will take Antonio up on his advice .. I am moving away from twbrowse in favor of xbrowse ..

Thanks
Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2642
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: re-compiling Hernan's Twbrowse with FWH 908

Postby Ariel » Thu Sep 10, 2009 2:50 pm

Rick,

compile the wbrwline.c this way :

\bcc55\bin\bcc32 -M -c -D__HARBOUR__ -I\xhrb\include;\fwh\include;\bcc55\include -owbrwline.OBJ wbrwline.C > make.log

and include wbrwline.obj generate, and execute this .bat :

em @ECHO OFF
CLS

\xhrb\bin\harbour SOURCE\wbrowse.PRG /n /i\fwh\include;\xhrb\include /oOBJ\wbrowse.C
\xhrb\bin\harbour SOURCE\tmultise.PRG /n /i\fwh\include;\xhrb\include /oOBJ\tmultise.C

rem INICIO Modulos C Generados por Harbour !!!

\bcc55\bin\bcc32 -M -c -D__HARBOUR__ -I\xhrb\include;\bcc55\include -oOBJ\wbrowse.OBJ OBJ\wbrowse.C
\bcc55\bin\bcc32 -M -c -D__HARBOUR__ -I\xhrb\include;\bcc55\include -oOBJ\tmultise.OBJ OBJ\tmultise.C

rem @del OBJ\*.C

@del LIB\twbrw.LIB

echo + obj\wbrowse.OBJ & >tmplib.bc
echo + obj\wbrwline.OBJ & >>tmplib.bc
echo + obj\tmultise.OBJ >>tmplib.bc

\bcc55\bin\tlib LIB\twbrw.LIB @tmplib.bc

@del tmplib.bc


sorry my english.
Regards.
Ariel
 
Posts: 374
Joined: Wed Nov 29, 2006 1:51 pm
Location: Rosario - Argentina


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 137 guests