error FWH 15.04 with xHarbour.com

Re: error FWH 15.04 with xHarbour.com

Postby Antonio Linares » Wed May 20, 2015 10:30 am

Manuel,

have you been able to run Tim's code there and see if it fails with FWH 15.04 ?

thanks
regards, saludos

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

Re: error FWH 15.04 with xHarbour.com

Postby TimStone » Wed May 20, 2015 5:12 pm

To make things simpler, I updated to the latest xHarbour ( .com) version / libraries this morning. I still have the same issue.

The program fails when trying to DEFINE FONTs.

This is extracted from my build ( .xbp ) file:

Code: Select all  Expand view


C_OUTPUTFOLDER =
DEFFILE =
INCLUDEFOLDERS =
LAUTORUN = .F.
LDEBUG = .F.
LGUI = .T.
LIBFOLDERS = C:\xHB\lib;c:\fwh\lib
LMT = .F.
LNOAUTOFWH = .F.
LPRG_CLASSICDEBUG = .F.
LPRG_DEBUG = .F.
LUSEDLL = .F.
MAPFILE =
MYC_FLAGS =
MYDEFINES = __HARBOUR__ ;__FLAT__
MYLINK_FLAGS = -NOEXPOBJ -MAP -FORCE:MULTIPLE
MYPRG_FLAGS =
MYRC_FLAGS =
MYSLY_FLAGS =
OUTPUTFOLDER = asw2013w
PRG_OUTPUTFOLDER =
RC_OUTPUTFOLDER =
RUNARGUMENTS = Sylviallaa
SLY_OUTPUTFOLDER =
STARTIN = C:\xHb\MLS2013\sourceource
TARGETFOLDER =

[ All .prg files are listed here ]

[C:\projects\asw2012\source\xhb.obj]
[C:\projects\libs\oledlg.lib]
[C:\projects\MLS2013\source\version.lib]
[C:\projects\MLS2013\source\prnwnd.lib]
[C:\projects\libs\ads.lib]
[C:\xHb\lib\xHBZIP.lib]
[C:\xHb\lib\xHBZipDll.lib]
[C:\projects\MLS2013\source\libeay32.lib]
[C:\projects\MLS2013\source\ssleay32.lib]
[C:\xhb\lib\TipSSL.lib]
[C:\Projects\libs\mem32.lib]
[C:\Projects\libs\send32.lib]
[C:\xHB\Lib\ACE32.lib]
[C:\MLS\ASW91\wcap.lib]
[C:\xHB\c_lib\Win\gdi32.lib]
[C:\xHB\c_lib\Win\gdiplus.lib]
[C:\xHB\c_lib\Win\psapi.lib]

 


I'm thinking there is a missing .lib file that has to do with the FONTS, or graphic rendering, or a build flag.

Thanks.
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: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: error FWH 15.04 with xHarbour.com

Postby TimStone » Wed May 20, 2015 5:32 pm

Otto has png.lib and xhb2.obj supplied by FWH ? These are not in my release. Where can I find them ?

Also, the following warnings are taking place:


xLINK: warning: Symbol 'c:\fwh\lib\FiveHCM.lib(MEM.obj)->_HB_FUN_NEXTMEM previously defined at (xHb2HbFunc.obj)' is multiply defined.
xLINK: warning: Symbol 'c:\fwh\lib\FiveHCM.lib(ACTX.obj)->_HB_FUN_ACTXPDISPPTR previously defined at (xHb2HbFunc.obj)' is multiply defined.
xLINK: warning: Symbol 'c:\fwh\lib\FiveHMX.lib(HARBOUR.obj)->_HB_FUN_OLEINVOKE previously defined at (FIVEACTX.obj)' is multiply defined.
xLINK: warning: Symbol 'c:\fwh\lib\FiveHMX.lib(HARBOUR.obj)->_HB_FUN_OLESETPROPERTY previously defined at (FIVEACTX.obj)' is multiply defined.
xLINK: warning: Symbol 'c:\fwh\lib\FiveHMX.lib(HARBOUR.obj)->_HB_FUN_OLEGETPROPERTY previously defined at (FIVEACTX.obj)' is multiply defined.
xLINK: warning: Symbol 'C:\xHB\lib\OptG.lib(hvm.obj)->_hb_vmPushSize previously defined at c:\fwh\lib\FiveHMX.lib(HARBOUR.obj)' is multiply defined.

Just in case this gives anyone a clue ....
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: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

RESOLVED

Postby TimStone » Wed May 20, 2015 6:08 pm

OK ... so somewhere along the way I was given a file SysFontSize.prg to make FWH work with xHb. Removing that file resolved the problem.

So here is a question about other files currently being linked in, with a FWH source, that may no longer be needed:

xHb2hbFunc.prg This has definitions in conflict with FiveHCM.lib
FIVEACTx.prg This has duplicate definitions of functions found in FiveHMXZ.lib

Are either of these needed ?

Finally, xHb links in an OptG.lib by default with _hb_vmPushSize in conflict with the same function defined in FiveHMX.lib. Any thoughts about this ?

Thanks for any further input.
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: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: error FWH 15.04 with xHarbour.com

Postby Antonio Linares » Wed May 20, 2015 6:20 pm

Tim,

Very good that you found that file and that solved the problem.

xHb2hbFunc.prg This has definitions in conflict with FiveHCM.lib
FIVEACTx.prg This has duplicate definitions of functions found in FiveHMXZ.lib

Are either of these needed ?


No. Please remove them.
regards, saludos

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

Re: error FWH 15.04 with xHarbour.com

Postby TimStone » Wed May 20, 2015 6:55 pm

How about FWdbg.prg and tMetaFile.prg ?
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: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: error FWH 15.04 with xHarbour.com

Postby Antonio Linares » Thu May 21, 2015 10:32 am

Tim,

Always check if those files are in FWH\source\classes\*.prg or in FWH\source\function\*.prg

if they are there, there is no need to link them again, unless you have modified them
regards, saludos

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

Re: error FWH 15.04 with xHarbour.com

Postby TimStone » Thu May 21, 2015 4:40 pm

Thanks ... in these cases I think there errors on earlier versions, and we had to make corrections and add in these files ... just never took them out ...

All is better now ...
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: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: error FWH 15.04 with xHarbour.com

Postby Antonio Linares » Thu May 21, 2015 7:17 pm

very good :-)
regards, saludos

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

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

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