FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour fw2504 HB_FUN_FUNCTION not resolved
Posts: 193
Joined: Wed Apr 04, 2007 06:54 AM
fw2504 HB_FUN_FUNCTION not resolved
Posted: Sun May 25, 2025 07:20 PM

I have installed fwh64 2504 I have adapted buildh64.bat to the new folders: fwh642504 and hb64VC225

unlike version 2501 with the same prg files now I get a link error:

functscl.obj : error LNK2001: external symbol HB_FUN_FUNCTION not resolved

scuola.exe : fatal error LNK1120: 1 unsolved externals

  • Linking errors *

How to fix this link error?

thanks, Marzio

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: fw2504 HB_FUN_FUNCTION not resolved
Posted: Sun May 25, 2025 07:49 PM

Dear Marzio,

Do you have a functscl.prg or functscl.c module ?

Please post its source code here, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 193
Joined: Wed Apr 04, 2007 06:54 AM
Re: fw2504 HB_FUN_FUNCTION not resolved
Posted: Sun May 25, 2025 08:10 PM

Antonio the file is too long.

Your message contains 577639 characters. The maximum number of allowed characters is 60000.

There are some function: DLL FUNCTION:

DLL32 FUNCTION Internet_Open( cAgent AS LPSTR, nAccessType AS DWORD, cProxyName AS LPSTR, cProxyBypass AS LPSTR, nFlags AS DWORD ) AS LONG PASCAL FROM "InternetOpenA" LIB "wininet.dll"

DLL32 FUNCTION Ftp_PutFile( hFTP AS LONG, cFileName AS LPSTR, cDestFile AS LPSTR, n1 AS LONG, n2 AS LONG ) AS BOOL PASCAL FROM "FtpPutFileA" LIB "wininet.dll"

DLL FUNCTION URLDOWNLOADTOFILE( pCaller AS LONG, cUrl AS LPSTR, cFileName AS LPSTR, nReserved AS DWORD, nFnCB AS LONG ) AS LONG PASCAL FROM "URLDownloadToFileA" LIB "urlmon.dll"

DLL STATIC FUNCTION DELETEURLCACHEENTRY( cUrl AS LPSTR ) AS BOOL PASCAL FROM "DeleteUrlCacheEntryA" LIB "wininet.dll"

could these be causing the message?

Posts: 193
Joined: Wed Apr 04, 2007 06:54 AM
Re: fw2504 HB_FUN_FUNCTION not resolved
Posted: Sun May 25, 2025 09:43 PM

I chopped up pieces of the program and compiled until I found the area and finally the function that was generating the error:

a function called IsNum().

I renamed it Is_Num() and the problem was solved.

thanks Antonio for your help and availability even on Sunday night!

Marzio

Continue the discussion