Page 1 of 1
*.HBP file for FWH64-Borland/CLang and MySQL
Posted: Fri May 29, 2026 2:50 pm
by Cgallegoa
Good morning, everyone!
Where can I find a sample *.HBP file to compile and link a simple test that loads a MySQL database with one table and an xBrowse function, using FWH64, Harbour64, Borland/CLang 64, and MSVC 2022 64? I've been trying for two days and haven't been able to get it to work.

Thanks for your help, and best wishes to all.
Re: *.HBP file for FWH64-Borland/CLang and MySQL
Posted: Fri May 29, 2026 2:52 pm
by Antonio Linares
Re: *.HBP file for FWH64-Borland/CLang and MySQL
Posted: Fri May 29, 2026 3:10 pm
by Jimmy
hi,
here my Sample to use MSVC 64 Bit and *.HBP
this ins my Dualgrid.HBP
Code: Select all | Expand
-gui -mt
-Ic:\fwh64\include
DUALGRID.PRG
TGRID.PRG
HB_FUNC.PRG
SHELLAPP.PRG
HBEJECT.PRG
CODEPAGE.PRG
IPHONE.PRG
PROPERTY.PRG
EVERYTH.PRG
ABOUT.PRG
DLGREPL.PRG
XBROWSE.PRG
YBROWSE.PRG
HBSTACK.PRG
PICKLIST.PRG
FWMODIFY.PRG
TCALENDA.PRG
FWREGDB.PRG
XBROWSER.PRG
DATAROW.PRG
ADO.prg
XLSWRITE.PRG
xmlview.prg
-Lc:\fwh64\lib
-lFiveH64
-lFiveHC64
-lgdiplus
-lole32
-lOleDlg
-lversion
-lDrXlsx64
-LC:\BCC7764\lib\psdk -lUxtheme
xhb.hbc
hbct.hbc
hbwin.hbc
hbmzip.hbc
hbziparc.hbc
hbfoxpro.hbc
hbpgsql.hbc
hbodbc.hbc
-ldflag=/NODEFAULTLIB:msvcrt
dualgrid.rc
and this is my GO64.BAT
Code: Select all | Expand
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
c:\harbour64\bin\win\msvc64\hbmk2 Link64.HBP -comp=msvc64
DUALGRID.exe
Note : it is MSVC from 2022 so you need to change Path to actual Version (18 ???)
Fivewin is installed at c:\fwh64
Harbour is installed at c:\harbour64
Re: *.HBP file for FWH64-Borland/CLang and MySQL
Posted: Fri May 29, 2026 3:29 pm
by Cgallegoa
Jimmy, thank you for your reply.
Actually, I'm compiling for MySQL without any problems and without needing to declare any libraries for MySQL/MariaDB; however, when I try to test in 32 or 64 bits using
FWCONNECT oCn HOST 'localhost' USER 'xxxx' PASSWORD 'xxxxx' DATABASE 'test'
,
then the libraries for MySQL are required.
Regards,
Re: *.HBP file for FWH64-Borland/CLang and MySQL
Posted: Fri May 29, 2026 3:48 pm
by Antonio Linares