hb_base64 link

User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: hb_base64 link

Post by Enrico Maria Giordano »

One thing at a time.

Code: Select all | Expand

rdd.lib(dbcmdx.obj) : error LNK2005: _HB_FUN_DBPACK already defined in fivehmx.lib(ERTOOLS.obj)


First, why ERTOOLS.PRG is included in the final EXE? Second, what is this for:

Code: Select all | Expand

*-- function -----------------------------------------------------------------
* Name........: DBPack
* Author......:
*-----------------------------------------------------------------------------

function DBPack()

   PACK

return .T.
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: hb_base64 link

Post by Enrico Maria Giordano »

Third, why is it not included when Harbour is used? Or at least, why is DBPACK not signaled as duplicate definition?

EMG
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: hb_base64 link

Post by Enrico Maria Giordano »

Ok, I understood: the problem is in the xHarbour rdd.lib. But the real problem is the request for LIBC. Who are requesting it?
User avatar
Antonio Linares
Site Admin
Posts: 42511
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: hb_base64 link

Post by Antonio Linares »

Dear Enrico,

Have you tried using this flag: /NODEFAULTLIB:libc ?

What do you get ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: hb_base64 link

Post by Enrico Maria Giordano »

Yes, of course. I get:

Code: Select all | Expand

rdd.lib(dbcmdx.obj) : error LNK2005: _HB_FUN_DBPACK already defined in fivehmx.lib(ERTOOLS.obj)
rtl.lib(dllcall.obj) : error LNK2005: _HB_FUN_LOADLIBRARY already defined in fivehcm.lib(DLL.obj)
rtl.lib(dllcall.obj) : error LNK2005: _HB_FUN_FREELIBRARY already defined in fivehcm.lib(DLL.obj)
ct.lib(disk.obj) : error LNK2005: _HB_FUN_GETVOLINFO already defined in fivehmx.lib(OLDFUNC.obj)
fivehmx.lib(GETSYSIN.obj) : error LNK2019: unresolved external symbol _GetMonitorInfo referenced in function _HB_FUN_MONITORINFOFROMRC
fivehmx.lib(GETSYSIN.obj) : error LNK2019: unresolved external symbol _MonitorFromPoint referenced in function _HB_FUN_MONITORINFOFROMRC
fivehmx.lib(GETSYSIN.obj) : error LNK2019: unresolved external symbol _MonitorFromWindow referenced in function _HB_FUN_MONITORINFOFROMRC
fivehcm.lib(WINDOWS.obj) : error LNK2019: unresolved external symbol _SetClassLongPtr referenced in function _HB_FUN_SETCLASSLONG
fivehcm.lib(WINDOWS.obj) : error LNK2019: unresolved external symbol _GetClassLongPtr referenced in function _HB_FUN_GETCLASSLONG
fivehcm.lib(KEYBRD.obj) : error LNK2019: unresolved external symbol _SendInput referenced in function _HB_FUN_SENDKEY
fivehcm.lib(RIBBON.obj) : error LNK2019: unresolved external symbol _PrintWindow referenced in function _ParentCapture
fivehcm.lib(WNDPRINT.obj) : error LNK2001: unresolved external symbol _PrintWindow
fivehcm.lib(CTRL2CHR.obj) : error LNK2019: unresolved external symbol _GetDCBrushColor referenced in function _HB_FUN_CTRLGETBACKCOLOR
fivehcm.lib(MENUDRAW.obj) : error LNK2019: unresolved external symbol _GetMenuInfo referenced in function _HB_FUN_HBMPBACK
fivehcm.lib(MENUDRAW.obj) : error LNK2019: unresolved external symbol _SetMenuInfo referenced in function _hsetbmpback
fivehcm.lib(MENUDRAW.obj) : error LNK2019: unresolved external symbol _GetMenuBarInfo referenced in function _HB_FUN_MINFOMIMENU
fivehcm.lib(NONCLIENT.obj) : error LNK2019: unresolved external symbol _GetComboBoxInfo referenced in function _HB_FUN_HWNDCOMBO
fivehcm.lib(NONCLIENT.obj) : error LNK2019: unresolved external symbol _GetListBoxInfo referenced in function _HB_FUN_NGETLISTBOXINFO
User avatar
Antonio Linares
Site Admin
Posts: 42511
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: hb_base64 link

Post by Antonio Linares »

Please link user32.lib
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: hb_base64 link

Post by Enrico Maria Giordano »

Please note that there is no problem with MSC and xHarbour in console mode, only with FWH.
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: hb_base64 link

Post by Enrico Maria Giordano »

I just ask Mel to build xHarbour with MSC2022. I'll try it and let you know.
User avatar
Antonio Linares
Site Admin
Posts: 42511
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: hb_base64 link

Post by Antonio Linares »

Dear Enrico,

many thanks for all the tests and effort that you are doing
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: hb_base64 link

Post by Enrico Maria Giordano »

A question: why do we have to link xhb.lib with Harbour? What is it for?

Code: Select all | Expand

echo %HDIRLIB%\xhb.lib >> msvc.tmp
User avatar
Antonio Linares
Site Admin
Posts: 42511
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: hb_base64 link

Post by Antonio Linares »

Enrico Maria Giordano wrote:A question: why do we have to link xhb.lib with Harbour? What is it for?

Code: Select all | Expand

echo %HDIRLIB%\xhb.lib >> msvc.tmp

Dear Enrico,

That library implements some xHarbour functions

https://github.com/harbour/core/tree/master/contrib/xhb
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: hb_base64 link

Post by Enrico Maria Giordano »

Yes, but why is it always needed?

Code: Select all | Expand

fiveh32.lib(WINDOW.obj) : error LNK2001: unresolved external symbol _HB_FUN_STRTOHEX
fiveh32.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_STRTOHEX
fiveh32.lib(TRECSET.obj) : error LNK2001: unresolved external symbol _HB_FUN_STRTOHEX
fiveh32.lib(WINDOW.obj) : error LNK2001: unresolved external symbol _HB_FUN_HEXTOSTR
fiveh32.lib(IMGTXTIO.obj) : error LNK2001: unresolved external symbol _HB_FUN_HEXTOSTR
fiveh32.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_HEXTOSTR
fiveh32.lib(PGSUPORT.obj) : error LNK2001: unresolved external symbol _HB_FUN_HEXTOSTR
fiveh32.lib(WINDOW.obj) : error LNK2001: unresolved external symbol _HB_FUN_NOTIFY
fiveh32.lib(DATAROW.obj) : error LNK2001: unresolved external symbol _HB_FUN_CTOT
fiveh32.lib(TRECSET.obj) : error LNK2001: unresolved external symbol _HB_FUN_CTOT
fiveh32.lib(VALBLANK.obj) : error LNK2001: unresolved external symbol _HB_FUN_CTOT
fiveh32.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_CTOT
fiveh32.lib(TARRDATA.obj) : error LNK2001: unresolved external symbol _HB_FUN_CTOT
fiveh32.lib(DBFFUNC2.obj) : error LNK2001: unresolved external symbol _HB_FUN_CTOT
fiveh32.lib(VALBLANK.obj) : error LNK2001: unresolved external symbol _HB_FUN_HCLONE
fiveh32.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_HCLONE
fiveh32.lib(DATAROW.obj) : error LNK2001: unresolved external symbol _HB_FUN_HEVAL
fiveh32.lib(VALBLANK.obj) : error LNK2001: unresolved external symbol _HB_FUN_HEVAL
fiveh32.lib(VALTOSTR.obj) : error LNK2001: unresolved external symbol _HB_FUN_HEVAL
fiveh32.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_HEVAL
fiveh32.lib(DBFFUNC2.obj) : error LNK2001: unresolved external symbol _HB_FUN_HEVAL
fiveh32.lib(VALBLANK.obj) : error LNK2001: unresolved external symbol _HB_FUN_HSET
fiveh32.lib(DBFFUNC2.obj) : error LNK2001: unresolved external symbol _HB_FUN_HSET
fiveh32.lib(DATAROW.obj) : error LNK2001: unresolved external symbol _HB_FUN_HSET
fiveh32.lib(RTFBOX.obj) : error LNK2019: unresolved external symbol _HB_FUN_NUMTOHEX referenced in function _HB_FUN_RTFBOX
fiveh32.lib(VALBLANK.obj) : error LNK2001: unresolved external symbol _HB_FUN_NUMTOHEX
fiveh32.lib(MSGBAR.obj) : error LNK2001: unresolved external symbol _HB_FUN_NUMTOHEX
fiveh32.lib(BAR.obj) : error LNK2001: unresolved external symbol _HB_FUN_NUMTOHEX
fiveh32.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_NUMTOHEX
fiveh32.lib(TRECSET.obj) : error LNK2001: unresolved external symbol _HB_FUN_TOLEAUTO
fiveh32.lib(HARBOUR.obj) : error LNK2001: unresolved external symbol _HB_FUN_TOLEAUTO
fiveh32.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_TOLEAUTO
fiveh32.lib(ACTIVEX.obj) : error LNK2001: unresolved external symbol _HB_FUN_TOLEAUTO
fiveh32.lib(ADOFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_TOLEAUTO
fiveh32.lib(WEBAPP.obj) : error LNK2001: unresolved external symbol _HB_FUN_HASH
fiveh32.lib(TGET.obj) : error LNK2001: unresolved external symbol _HB_FUN_DATETIME
fiveh32.lib(PRV2PDF.obj) : error LNK2001: unresolved external symbol _HB_FUN_DATETIME
fiveh32.lib(ADOFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_DATETIME
fiveh32.lib(VALTOSTR.obj) : error LNK2001: unresolved external symbol _HB_FUN_OCCURS
fiveh32.lib(FILENAME.obj) : error LNK2001: unresolved external symbol _HB_FUN_OCCURS
fiveh32.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_OCCURS
fiveh32.lib(TARRDATA.obj) : error LNK2001: unresolved external symbol _HB_FUN_OCCURS
fiveh32.lib(VALTOSTR.obj) : error LNK2001: unresolved external symbol _HB_FUN_ANSITOWIDE
fiveh32.lib(PRV2PDF.obj) : error LNK2001: unresolved external symbol _HB_FUN_ANSITOWIDE
fiveh32.lib(TGDIPLUS.obj) : error LNK2001: unresolved external symbol _HB_FUN_ANSITOWIDE
fiveh32.lib(TRICHED5.obj) : error LNK2001: unresolved external symbol _HB_FUN_ANSITOWIDE
fiveh32.lib(PDMENU.obj) : error LNK2001: unresolved external symbol _HB_FUN_OS_ISWTSCLIENT
fiveh32.lib(MENU.obj) : error LNK2001: unresolved external symbol _HB_FUN_OS_ISWTSCLIENT
fiveh32.lib(PGSUPORT.obj) : error LNK2019: unresolved external symbol _HB_FUN_HB_FUNCPTR referenced in function _HB_FUN_FWPG_GOTOKEYVAL
fiveh32.lib(PRINTER.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_FUNCPTR
fiveh32.lib(FWBARCOD.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_FUNCPTR
fiveh32.lib(CHECKRES.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_FUNCPTR
fiveh32.lib(ADOFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_FUNCPTR
fiveh32.lib(IMGTXTIO.obj) : error LNK2001: unresolved external symbol _HB_FUN_HEXTONUM
fiveh32.lib(RTFBOX.obj) : error LNK2001: unresolved external symbol _HB_FUN_HEXTONUM
fiveh32.lib(FWDECODE.obj) : error LNK2001: unresolved external symbol _HB_FUN_HHASKEY
fiveh32.lib(FWDECODE.obj) : error LNK2001: unresolved external symbol _HB_FUN_RASCAN
fiveh32.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_HSETCASEMATCH
fiveh32.lib(DBFFUNC2.obj) : error LNK2001: unresolved external symbol _HB_FUN_HSETCASEMATCH
fiveh32.lib(DATAROW.obj) : error LNK2001: unresolved external symbol _HB_FUN_HSETCASEMATCH
fiveh32.lib(TRECSET.obj) : error LNK2001: unresolved external symbol _HB_FUN_HSETCASEMATCH
fiveh32.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_HMERGE
fiveh32.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_DECODE
fiveh32.lib(PGSUPORT.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_DECODE
fiveh32.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_WILDMATCH
fiveh32.lib(TARRDATA.obj) : error LNK2001: unresolved external symbol _HB_FUN_WILDMATCH
fiveh32.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_TTOS
fiveh32.lib(PRV2PDF.obj) : error LNK2001: unresolved external symbol _HB_FUN_TTOS
fiveh32.lib(DBFFUNC2.obj) : error LNK2001: unresolved external symbol _HB_FUN_TTOS
fiveh32.lib(ADOFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_TTOS
fiveh32.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_ATSKIPSTRINGS
fiveh32.lib(DBFFUNC1.obj) : error LNK2001: unresolved external symbol _HB_FUN_ATSKIPSTRINGS
fiveh32.lib(ADOFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_ATSKIPSTRINGS
fiveh32.lib(VSTRFUN1.obj) : error LNK2001: unresolved external symbol _HB_FUN_HGETPAIRAT
fiveh32.lib(IMAGEB64.obj) : error LNK2001: unresolved external symbol _HB_FUN_WIDETOANSI
fiveh32.lib(TRICHED5.obj) : error LNK2001: unresolved external symbol _HB_FUN_WIDETOANSI
fiveh32.lib(DBFFUNC1.obj) : error LNK2001: unresolved external symbol _HB_FUN_VALTOPRGEXP
fiveh32.lib(DATAROW.obj) : error LNK2001: unresolved external symbol _HB_FUN_VALTOPRGEXP
fiveh32.lib(IMAGE.obj) : error LNK2001: unresolved external symbol _HB_FUN_CREATEOBJECT
fiveh32.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_CREATEOBJECT
fiveh32.lib(TRICHED5.obj) : error LNK2001: unresolved external symbol _HB_FUN_CREATEOBJECT
fiveh32.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_GETACTIVEOBJECT
fiveh32.lib(TRICHED5.obj) : error LNK2001: unresolved external symbol _HB_FUN_I18N
fiveh32.lib(DBFFUNC2.obj) : error LNK2001: unresolved external symbol _HB_FUN_STOT
fiveh32.lib(ADOFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_EXEC
fiveh32.lib(ADOFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_REGEXREPLACE
fiveh32.lib(DATAROW.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_ENUMINDEX
fiveh32.lib(TRECSET.obj) : error LNK2001: unresolved external symbol _HB_FUN_HGETCASEMATCH
fiveh32.lib(ERFILE.obj) : error LNK2001: unresolved external symbol _HB_FUN_MESSAGEBOX
User avatar
Antonio Linares
Site Admin
Posts: 42511
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: hb_base64 link

Post by Antonio Linares »

Because we have used functions from it :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: hb_base64 link

Post by Enrico Maria Giordano »

Are you using xHarbour functions from Harbour? Ok, but why? I don't understand.
Post Reply