Antonio Linares wrote:D.
We do recommend Microsoft Visual Studio Community 2019 as it is a great set of tools from Microsoft and work great with Harbour and FWH:
https://visualstudio.microsoft.com/
If you prefer to use Borland, then we do recommend bcc7. You can directly download it from Embarcadero.
You may select the right Harbour version to use from here:
http://forums.fivetechsupport.com/viewtopic.php?f=16&t=37147
http://forums.fivetechsupport.com/viewtopic.php?f=16&t=37148
You can also use MinGW for Windows. FWH supports the most recent versions.
Rick Lipkin wrote:Microsoft visual Studio is a good IDE as Antonio mentions .. however, you can just download the MSVC c++ compiler from http://whosaway.com/ and you can use BuildHM.bat or BuildXM.bat in
the fivewin\samples folder.
For a new FW user .. I would look at the IDE's
Microsoft VS
FiveEdit
xMate
Rick Lipkin
TimStone wrote:For many years, I have used Microsoft Visual Studio + Harbour + FWH. I have always been pleased. I also have an older version of the commercial xHarbour.
All of my work is done with the Microsoft build for a simple reason. My clients all use Windows, and no other product is designed to be 100% compatible with the current OS. Visual Studio is constantly updated and provides for every feature in WIndows development. Some options are simply not available with other compilers. For example, a few years ago, we wanted a photo taking option in our product. Antonio quickly made it happen with the ability to use capabilities supplied in Visual Studio. No other tools supported it, but my clients have had the benefit of using it now for several years.
I do my editing in Ultra Edit Studio, and my builds for distribution are created with a make file called from UES. However, for testing, I have the program setup in Visual Studio. So, the process is simple: Edit in UES, then click on the build option in VS which compiles changed files, links, and starts the program. It is so fast and easy.
Thankfully we have options, but I prefer this one. It works, it's easy to use, there is no cost for the Visual Studio, There are also options. You can work 100% in Visual Studio, and even have it use your preferred editor. Updates are steady, and apply automatically in VS, so you never lose time reconfiguring.
Tim
HBDIR=D:\Tools\Harbour32MSVC2017
FWDIR=D:\Tools\FWH1709
VCDIR=C:\"Program Files (x86)\Microsoft Visual Studio"\2019\Community\VC\Tools\MSVC\14.26.28801\bin\Hostx86\x86
VCDIRINC="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include"
SDKDIR="C:\Program Files (x86)\Windows Kits\10\Lib\10.0.18362.0\um\x86"
SDKDIRINC="C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um"
RCDIR="C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x86"
.SUFFIXES: .PRG .C .OBJ .RC .RES
PRG = \
source\one.PRG \
source\two.PRG \
source\three.PRG
#place here as many PRGs as needed
OBJ=$(PRG:.PRG=.OBJ)
OBJS=$(OBJ:.\=.\obj\)
PROJECT: ONE.EXE
one.exe : $(OBJS) one.res
echo $(OBJS) > msvc.tmp
echo $(FWDIR)\lib\FiveH32.lib $(FWDIR)\lib\FiveHC32.lib >> msvc.tmp
echo $(HBDIR)\lib\hbrtl.lib >> msvc.tmp
echo $(HBDIR)\lib\hbvm.lib >> msvc.tmp
echo $(HBDIR)\lib\gtgui.lib >> msvc.tmp
echo $(HBDIR)\lib\hblang.lib >> msvc.tmp
echo $(HBDIR)\lib\hbmacro.lib >> msvc.tmp
echo $(HBDIR)\lib\hbrdd.lib >> msvc.tmp
echo $(HBDIR)\lib\rddntx.lib >> msvc.tmp
echo $(HBDIR)\lib\rddcdx.lib >> msvc.tmp
echo $(HBDIR)\lib\rddfpt.lib >> msvc.tmp
echo $(HBDIR)\lib\hbsix.lib >> msvc.tmp
echo $(HBDIR)\lib\hbdebug.lib >> msvc.tmp
echo $(HBDIR)\lib\hbcommon.lib >> msvc.tmp
echo $(HBDIR)\lib\hbpp.lib >> msvc.tmp
echo $(HBDIR)\lib\hbcpage.lib >> msvc.tmp
echo $(HBDIR)\lib\hbwin.lib >> msvc.tmp
echo $(HBDIR)\lib\hbcplr.lib >> msvc.tmp
echo $(HBDIR)\lib\hbpcre.lib >> msvc.tmp
echo $(HBDIR)\lib\hbct.lib >> msvc.tmp
echo $(HBDIR)\lib\xhb.lib >> msvc.tmp
echo $(HBDIR)\lib\png.lib >> msvc.tmp
echo $(HBDIR)\lib\hbzlib.lib >> msvc.tmp
echo $(HBDIR)\lib\hbziparc.lib >> msvc.tmp
echo $(HBDIR)\lib\hbmzip.lib >> msvc.tmp
echo $(HBDIR)\lib\minizip.lib >> msvc.tmp
echo $(HBDIR)\lib\hbtip.lib >> msvc.tmp
echo $(HBDIR)\lib\hbzebra.lib >> msvc.tmp
echo $(SDKDIR)\kernel32.lib >> msvc.tmp
echo $(SDKDIR)\user32.lib >> msvc.tmp
echo $(SDKDIR)\gdi32.lib >> msvc.tmp
echo $(SDKDIR)\winspool.lib >> msvc.tmp
echo $(SDKDIR)\comctl32.lib >> msvc.tmp
echo $(SDKDIR)\comdlg32.lib >> msvc.tmp
echo $(SDKDIR)\advapi32.lib >> msvc.tmp
echo $(SDKDIR)\shell32.lib >> msvc.tmp
echo $(SDKDIR)\ole32.lib >> msvc.tmp
echo $(SDKDIR)\oleaut32.lib >> msvc.tmp
echo $(SDKDIR)\uuid.lib >> msvc.tmp
echo $(SDKDIR)\odbc32.lib >> msvc.tmp
echo $(SDKDIR)\odbccp32.lib >> msvc.tmp
echo $(SDKDIR)\iphlpapi.lib >> msvc.tmp
echo $(SDKDIR)\mpr.lib >> msvc.tmp
echo $(SDKDIR)\version.lib >> msvc.tmp
echo $(SDKDIR)\wsock32.lib >> msvc.tmp
echo $(SDKDIR)\msimg32.lib >> msvc.tmp
echo $(SDKDIR)\oledlg.lib >> msvc.tmp
echo $(SDKDIR)\psapi.lib >> msvc.tmp
echo $(SDKDIR)\gdiplus.lib >> msvc.tmp
echo $(SDKDIR)\winmm.lib >> msvc.tmp
IF EXIST one.res echo one.res >> msvc.tmp
$(VCDIR)\link @msvc.tmp /out:One.exe /nologo /subsystem:windows /force:multiple /NODEFAULTLIB:msvcrt > link.log
@type link.log
one.res : one.rc
$(RCDIR)\rc.exe -r -d__FLAT__ one.rc
.PRG.OBJ:
$(HBDIR)\bin\harbour $< /n /w /Oobj\ /i$(FWDIR)\include;$(HBDIR)\include
$(VCDIR)\cl.exe -TP -W3 -c /GS- /I$(HBDIR)\include /GA -Foobj\ obj\*.c
one.c
three.c
two.c
Gerando C¢digo...
echo source\one.OBJ source\two.OBJ source\three.OBJ > msvc.tmp
echo D:\Tools\FWH1709\lib\FiveH32.lib D:\Tools\FWH1709\lib\FiveHC32.lib >> msvc.tmp
echo D:\Tools\Harbour32MSVC2017\lib\hbrtl.lib >> msvc.tmp
echo D:\Tools\Harbour32MSVC2017\lib\hbvm.lib >> msvc.tmp
echo D:\Tools\Harbour32MSVC2017\lib\gtgui.lib >> msvc.tmp
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot], nageswaragunupudi, Silvio.Falconi and 55 guests