hb_base64 link

Re: hb_base64 link

Postby Enrico Maria Giordano » Wed Sep 07, 2022 5:36 pm

One thing at a time.

Code: Select all  Expand view  RUN
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 view  RUN
*-- function -----------------------------------------------------------------
* Name........: DBPack
* Author......:
*-----------------------------------------------------------------------------

function DBPack()

   PACK

return .T.
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: hb_base64 link

Postby Enrico Maria Giordano » Wed Sep 07, 2022 5:37 pm

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: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: hb_base64 link

Postby Enrico Maria Giordano » Wed Sep 07, 2022 5:52 pm

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
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: hb_base64 link

Postby Antonio Linares » Wed Sep 07, 2022 6:15 pm

Dear Enrico,

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

What do you get ?
regards, saludos

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

Re: hb_base64 link

Postby Enrico Maria Giordano » Wed Sep 07, 2022 7:35 pm

Yes, of course. I get:

Code: Select all  Expand view  RUN
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
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: hb_base64 link

Postby Antonio Linares » Wed Sep 07, 2022 8:28 pm

Please link user32.lib
regards, saludos

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


Re: hb_base64 link

Postby Enrico Maria Giordano » Thu Sep 08, 2022 7:54 am

Please note that there is no problem with MSC and xHarbour in console mode, only with FWH.
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: hb_base64 link

Postby Enrico Maria Giordano » Thu Sep 08, 2022 8:35 am

I just ask Mel to build xHarbour with MSC2022. I'll try it and let you know.
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: hb_base64 link

Postby Antonio Linares » Thu Sep 08, 2022 2:29 pm

Dear Enrico,

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

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

Re: hb_base64 link

Postby Enrico Maria Giordano » Fri Sep 09, 2022 3:39 pm

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

Code: Select all  Expand view  RUN
echo %HDIRLIB%\xhb.lib >> msvc.tmp
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: hb_base64 link

Postby Antonio Linares » Fri Sep 09, 2022 3:58 pm

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

Code: Select all  Expand view  RUN
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
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: hb_base64 link

Postby Enrico Maria Giordano » Fri Sep 09, 2022 5:18 pm

Yes, but why is it always needed?

Code: Select all  Expand view  RUN
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
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: hb_base64 link

Postby Antonio Linares » Sat Sep 10, 2022 7:39 am

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

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

Re: hb_base64 link

Postby Enrico Maria Giordano » Sat Sep 10, 2022 7:56 am

Are you using xHarbour functions from Harbour? Ok, but why? I don't understand.
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 46 guests