Estimado Juan
El HBMK2 viene en la carpeta BIN de HARBOUR, xHARBOUR no lo trae
Para no tener la extensión TASK mejor agrega lo siguiente a setting.json que se encuentra en:
C:\Users\TuUsuario\AppData\Roaming\Code\User
"actionButtons": {
"commands": [
{
"name":"♻️Compilar",
"color": "cyan",
"command": "GoHbmk ${fileBasenameNoExtension}",
"cwd": "${workspaceFolder}"
}
],
"defaultColor": "white",
"reloadButton": "↻",
"loadNpmCommands": false
},
El Gohbmk.bat
if exist tusistema.exe del tusistema.exe
Set path=D:\Sistemas\Compiler\BCC7\BIN
D:\Sistemas\Compiler\Harbour\bin\hbmk2 prg\tusistema.hbp -comp=bcc64 -run
Cambiar las rutas
El tusistema.hbp
-gui
-w0
-inc
-ID:\Sistemas\Compiler\FWH\include;D:\Sistemas\Compiler\BCC7\include
tusistema.PRG
tusistema11.PRG
tusistema.RES
tusistema.RC
-workdir=..\OBJ
-optim-
-ldflag+=-aa
-LD:\Sistemas\Compiler\FWH\LIB;D:\Sistemas\Compiler\BCC7\lib
-lFive64
-lFiveC64
xhb.hbc
hbziparc.hbc
Cambiar las rutas
Descargar el HARBOUR desde aquí
https://github.com/FiveTechSoft/harbour_and_xharbour_builds/blob/master/README.md
Si necesitas mas ayuda no dudes en preguntar