FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour error FWH 15.04 with xHarbour.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: error FWH 15.04 with xHarbour.com

Posted: 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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM

Re: error FWH 15.04 with xHarbour.com

Posted: Wed May 20, 2015 05: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 (fw): Select all Collapse
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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM

Re: error FWH 15.04 with xHarbour.com

Posted: Wed May 20, 2015 05: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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM

RESOLVED

Posted: Wed May 20, 2015 06: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: error FWH 15.04 with xHarbour.com

Posted: Wed May 20, 2015 06: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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM

Re: error FWH 15.04 with xHarbour.com

Posted: Wed May 20, 2015 06: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: error FWH 15.04 with xHarbour.com

Posted: 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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM

Re: error FWH 15.04 with xHarbour.com

Posted: Thu May 21, 2015 04: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: error FWH 15.04 with xHarbour.com

Posted: Thu May 21, 2015 07:17 PM

very good :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion