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
BCDIR=c:\bcc770
FWDIR=C:\FWH
HBDIR=C:\HARBOUR
hdir=C:\HARBOUR
hdirl=C:\HARBOUR\lib\win\bcc
Code: Select all | Expand
BCDIR=c:\bcc7764
FWDIR=C:\FWH64
HBDIR=C:\HARBOUR64
hdir=C:\HARBOUR64
hdirl=C:\HARBOUR64\lib\win\bcc
Code: Select all | Expand
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
c:\harbour64\bin\win\msvc64\hbmk2 MYPROJECT.HBP -comp=msvc64
Code: Select all | Expand
-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
Code: Select all | Expand
if not exist obj md obj
c:\bcc7764\bin\make -fFWEJECT.MAK
FWEJECT.EXE
Code: Select all | Expand
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