FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour *.HBP file for FWH64-Borland/CLang and MySQL
Posts: 524
Joined: Sun Oct 16, 2005 03:32 AM

*.HBP file for FWH64-Borland/CLang and MySQL

Posted: Fri May 29, 2026 02:50 PM

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. :oops: :cry:

Thanks for your help, and best wishes to all.

Saludos,



Carlos Gallego



*** FWH-25.12, xHarbour 1.3.1 Build 20241008, Borland C++7.70, PellesC, ADS 11.1***

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

Re: *.HBP file for FWH64-Borland/CLang and MySQL

Posted: Fri May 29, 2026 02:52 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1773
Joined: Thu Sep 05, 2019 05:32 AM

Re: *.HBP file for FWH64-Borland/CLang and MySQL

Posted: Fri May 29, 2026 03:10 PM

hi,
here my Sample to use MSVC 64 Bit and *.HBP

this ins my Dualgrid.HBP

-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

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

greeting,

Jimmy
Posts: 524
Joined: Sun Oct 16, 2005 03:32 AM

Re: *.HBP file for FWH64-Borland/CLang and MySQL

Posted: Fri May 29, 2026 03:29 PM

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,

Saludos,



Carlos Gallego



*** FWH-25.12, xHarbour 1.3.1 Build 20241008, Borland C++7.70, PellesC, ADS 11.1***

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

Re: *.HBP file for FWH64-Borland/CLang and MySQL

Posted: Fri May 29, 2026 03:48 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion