Still have Problem using right Environment for FWH.
i use these Setting, are they right
build.BAT for 32 Bit BCC
- Code: Select all Expand view
- BCDIR=c:\bcc770
FWDIR=C:\FWH
HBDIR=C:\HARBOUR
hdir=C:\HARBOUR
hdirl=C:\HARBOUR\lib\win\bcc
build64.BAT for 64 Bit BCC
- Code: Select all Expand view
- BCDIR=c:\bcc7764
FWDIR=C:\FWH64
HBDIR=C:\HARBOUR64
hdir=C:\HARBOUR64
hdirl=C:\HARBOUR64\lib\win\bcc
Go64.BAT for 64 BIT MSVC
- Code: Select all Expand view
- call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
c:\harbour64\bin\win\msvc64\hbmk2 MYPROJECT.HBP -comp=msvc64
MYPROJECT.HBP for 64 BIT MSVC
- Code: Select all Expand view
- -gui
-Ic:\fwh64\include
FWEJECT.PRG
HB_FUNC.PRG
-Lc:\fwh64\lib
-lFiveH64
-lFiveHC64
-lgdiplus
-lole32
-lOleDlg
-lversion
xhb.hbc
hbct.hbc
hbwin.hbc
hbmzip.hbc
hbziparc.hbc
hbfoxpro.hbc
-ldflag=/NODEFAULTLIB:msvcrt
FWEJECT.rc
BUIlD64.BAT for FWEJECT.MAK
- Code: Select all Expand view
- if not exist obj md obj
c:\bcc7764\bin\make -fFWEJECT.MAK
FWEJECT.EXE
MYPROJECT.MAK for 64 BIt BCC
- Code: Select all Expand view
- HBDIR=c:\harbour64
BCDIR=c:\BCC7764
FWDIR=c:\fwh64
#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH = $(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.rc = .\
PRG = \
FWEJECT.PRG \
HB_FUNC.PRG
PROJECT : FWEJECT.exe
FWEJECT.exe : $(PRG:.PRG=.OBJ) FWEJECT.res