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