FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH 2603 Linking Errors
Posts: 657
Joined: Fri Oct 21, 2005 05:54 AM

FWH 2603 Linking Errors

Posted: Thu May 07, 2026 06:52 AM

Dear Mr.Antonio,

I am getting the following error while linking my application :

Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
Error: Unresolved external '_HB_FUN_HB_VALTOEXP' referenced from D:\NEWPROJECT\FWH_2603\LIB\FIVEHX.LIB|xbrowse
Error: Unresolved external '_HB_FUN_HB_HHASKEY' referenced from D:\NEWPROJECT\FWH_2603\LIB\FIVEHX.LIB|window
Error: Unable to perform link
* Linking errors *

I am using FWH_2603 + BCC77 + xHarbour 1.3.2 Intl. (Simplex) (Build 20260504)

Please give me a solution to avoid these errors.

-Ramesh Babu P

Posts: 9028
Joined: Thu Oct 06, 2005 08:17 PM

Re: FWH 2603 Linking Errors

Posted: Thu May 07, 2026 07:37 AM

Can you provide a minimal PRG sample showing the error, please?

Posts: 44229
Joined: Thu Oct 06, 2005 05:47 PM

Re: FWH 2603 Linking Errors

Posted: Thu May 07, 2026 08:56 AM

Dear Ramesh,

Temporary workaround:

#ifdef __XHARBOUR__
  function hb_HHasKey( hHash, xKey )
  return HHasKey( hHash, xKey )

  function hb_ValToExp( uVal )
  return ValToPrgExp( uVal )
  #endif
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9028
Joined: Thu Oct 06, 2005 08:17 PM

Re: FWH 2603 Linking Errors

Posted: Thu May 07, 2026 10:36 AM

I don't get any errors using neither TWindow nor TXBrowse.

Posts: 657
Joined: Fri Oct 21, 2005 05:54 AM

Re: FWH 2603 Linking Errors

Posted: Fri May 08, 2026 12:06 AM

Thank you Mr.Antonio. It is working Ok Now.

-Ramesh Babu P

Posts: 887
Joined: Fri Jan 12, 2007 08:35 PM

Re: FWH 2603 Linking Errors

Posted: Fri May 22, 2026 07:26 AM

FWH 26.03
Hola tambi茅n a mi me sale este error :shock:
Error: Unresolved external 'HB_FUN_HB_VALTOEXP' referenced from C:\FWH\LIB\FIVEHX.LIB|xbrowse
Error: Unresolved external '
HB_FUN_HB_HHASKEY' referenced from C:\FWH\LIB\FIVEHX.LIB|window
Error: Unable to perform link

Que es mejor que programar? creo que nada :)
Atropellada pero aqui ando :P

I love Fivewin

s茅蕦菨晒 谉蓯 蓯蕠s菨 opun莎 菨蕠s菨
Posts: 9028
Joined: Thu Oct 06, 2005 08:17 PM

Re: FWH 2603 Linking Errors

Posted: Fri May 22, 2026 07:43 AM

Please look here (hbcompat.ch):

#xtranslate hb_HHasKey( [<x,...>] )         => HHasKey( <x> )
#xtranslate hb_ValToExp( [<x,...>] )        => ValToPrgExp( <x> )

And in fivewin.ch:

#include "hbcompat.ch"

So you shouldn't get any of those two errors.

Posts: 887
Joined: Fri Jan 12, 2007 08:35 PM

Re: FWH 2603 Linking Errors

Posted: Fri May 22, 2026 08:11 AM

Enrico
Thanks, but the same error keeps appearing. :shock:

Que es mejor que programar? creo que nada :)
Atropellada pero aqui ando :P

I love Fivewin

s茅蕦菨晒 谉蓯 蓯蕠s菨 opun莎 菨蕠s菨
Posts: 9028
Joined: Thu Oct 06, 2005 08:17 PM

Re: FWH 2603 Linking Errors

Posted: Fri May 22, 2026 08:17 AM

Try to add these at top of your code:

#xtranslate hb_HHasKey( [<x,...>] )         => HHasKey( <x> )
#xtranslate hb_ValToExp( [<x,...>] )        => ValToPrgExp( <x> )
Posts: 887
Joined: Fri Jan 12, 2007 08:35 PM

Re: FWH 2603 Linking Errors

Posted: Sat May 23, 2026 05:44 AM

Enrico
I did what you indicated, but the error keeps appearing. :?

Que es mejor que programar? creo que nada :)
Atropellada pero aqui ando :P

I love Fivewin

s茅蕦菨晒 谉蓯 蓯蕠s菨 opun莎 菨蕠s菨
Posts: 9028
Joined: Thu Oct 06, 2005 08:17 PM

Re: FWH 2603 Linking Errors

Posted: Sat May 23, 2026 07:39 AM

Try this sample:

#include "Fivewin.ch"


FUNCTION MAIN()

HB_HHASKEY()
HB_VALTOEXP()

RETURN NIL

Do you get unresolved externals? If yes, try this other:

#xtranslate hb_HHasKey( [<x,...>] )         => HHasKey( <x> )
#xtranslate hb_ValToExp( [<x,...>] )        => ValToPrgExp( <x> )


#include "Fivewin.ch"


FUNCTION MAIN()

HB_HHASKEY()
HB_VALTOEXP()

RETURN NIL
Posts: 887
Joined: Fri Jan 12, 2007 08:35 PM

Re: FWH 2603 Linking Errors

Posted: Fri May 29, 2026 04:45 AM

Enrico
Gracias pero sigue con el mismo error
Thanks, but it's still having the same error.

Que es mejor que programar? creo que nada :)
Atropellada pero aqui ando :P

I love Fivewin

s茅蕦菨晒 谉蓯 蓯蕠s菨 opun莎 菨蕠s菨
Posts: 44229
Joined: Thu Oct 06, 2005 05:47 PM

Re: FWH 2603 Linking Errors

Posted: Fri May 29, 2026 04:49 AM

Querida Aida,

A帽ade este c贸digo a tu app:

#ifdef __XHARBOUR__
  function hb_HHasKey( hHash, xKey )
  return HHasKey( hHash, xKey )

  function hb_ValToExp( uVal )
  return ValToPrgExp( uVal )
  #endif
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 887
Joined: Fri Jan 12, 2007 08:35 PM

Re: FWH 2603 Linking Errors

Posted: Fri May 29, 2026 08:14 AM

Hola Antonio use el c贸digo que me sugeriste y ahora trono todo :shock:

Que es mejor que programar? creo que nada :)
Atropellada pero aqui ando :P

I love Fivewin

s茅蕦菨晒 谉蓯 蓯蕠s菨 opun莎 菨蕠s菨
Posts: 44229
Joined: Thu Oct 06, 2005 05:47 PM

Re: FWH 2603 Linking Errors

Posted: Fri May 29, 2026 09:27 AM

Recuerda que las declaraciones STATIC o LOCAL deben ir siempre al inicio de la funci贸n, antes de cualquier instrucci贸n ejecutable.

Declara tus variables para evitar "referencias ambiguas" y no olvides cerrar siempre tus funciones con RETURN ...

regards, saludos

Antonio Linares
www.fivetechsoft.com