Page 1 of 2
FWH 2603 Linking Errors
Posted: Thu May 07, 2026 6:52 am
by RAMESHBABU
Dear Mr.Antonio,
I am getting the following error while linking my application :
Code: Select all | Expand
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
Re: FWH 2603 Linking Errors
Posted: Thu May 07, 2026 7:37 am
by Enrico Maria Giordano
Can you provide a minimal PRG sample showing the error, please?
Re: FWH 2603 Linking Errors
Posted: Thu May 07, 2026 8:56 am
by Antonio Linares
Dear Ramesh,
Temporary workaround:
Code: Select all | Expand
#ifdef __XHARBOUR__
function hb_HHasKey( hHash, xKey )
return HHasKey( hHash, xKey )
function hb_ValToExp( uVal )
return ValToPrgExp( uVal )
#endif
Re: FWH 2603 Linking Errors
Posted: Thu May 07, 2026 10:36 am
by Enrico Maria Giordano
I don't get any errors using neither TWindow nor TXBrowse.
Re: FWH 2603 Linking Errors
Posted: Fri May 08, 2026 12:06 am
by RAMESHBABU
Thank you Mr.Antonio.
It is working Ok Now.
-Ramesh Babu P
Re: FWH 2603 Linking Errors
Posted: Fri May 22, 2026 7:26 am
by AIDA
FWH 26.03
Hola también a mi me sale este error
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
Re: FWH 2603 Linking Errors
Posted: Fri May 22, 2026 7:43 am
by Enrico Maria Giordano
Please look here (hbcompat.ch):
Code: Select all | Expand
#xtranslate hb_HHasKey( [<x,...>] ) => HHasKey( <x> )
#xtranslate hb_ValToExp( [<x,...>] ) => ValToPrgExp( <x> )
And in fivewin.ch:
So you shouldn't get any of those two errors.
Re: FWH 2603 Linking Errors
Posted: Fri May 22, 2026 8:11 am
by AIDA
Enrico
Thanks, but the same error keeps appearing. 
Re: FWH 2603 Linking Errors
Posted: Fri May 22, 2026 8:17 am
by Enrico Maria Giordano
Try to add these at top of your code:
Code: Select all | Expand
#xtranslate hb_HHasKey( [<x,...>] ) => HHasKey( <x> )
#xtranslate hb_ValToExp( [<x,...>] ) => ValToPrgExp( <x> )
Re: FWH 2603 Linking Errors
Posted: Sat May 23, 2026 5:44 am
by AIDA
Enrico
I did what you indicated, but the error keeps appearing. 
Re: FWH 2603 Linking Errors
Posted: Sat May 23, 2026 7:39 am
by Enrico Maria Giordano
Try this sample:
Code: Select all | Expand
#include "Fivewin.ch"
FUNCTION MAIN()
HB_HHASKEY()
HB_VALTOEXP()
RETURN NIL
Do you get unresolved externals? If yes, try this other:
Code: Select all | Expand
#xtranslate hb_HHasKey( [<x,...>] ) => HHasKey( <x> )
#xtranslate hb_ValToExp( [<x,...>] ) => ValToPrgExp( <x> )
#include "Fivewin.ch"
FUNCTION MAIN()
HB_HHASKEY()
HB_VALTOEXP()
RETURN NIL
Re: FWH 2603 Linking Errors
Posted: Fri May 29, 2026 4:45 am
by AIDA
Enrico
Gracias pero sigue con el mismo error
Thanks, but it's still having the same error.

Re: FWH 2603 Linking Errors
Posted: Fri May 29, 2026 4:49 am
by Antonio Linares
Querida Aida,
Añade este código a tu app:
Code: Select all | Expand
#ifdef __XHARBOUR__
function hb_HHasKey( hHash, xKey )
return HHasKey( hHash, xKey )
function hb_ValToExp( uVal )
return ValToPrgExp( uVal )
#endif
Re: FWH 2603 Linking Errors
Posted: Fri May 29, 2026 8:14 am
by AIDA
Hola Antonio use el código que me sugeriste y ahora trono todo 

Re: FWH 2603 Linking Errors
Posted: Fri May 29, 2026 9:27 am
by Antonio Linares
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 ...