Thanks in advance.Antonio Linares wrote:It may be quite interesting that we detail here all the required changes, so it will help to other users wanting to migrate to Harbour and Microsoft Visual C
SET PATH=C:\Programmi\Microsoft Visual Studio 10.0\VC\;C:\HARBOUR\bin\;C:\WINDOWS;C:\WINDOWS\SYSTEM32
call "%ProgramFiles%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
hbmk2 -inc MASTRO.hbm fwh.hbc
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO ------------------ Application successfully built *
MASTRO.exe
GOTO EXIT
:LINKERROR
ECHO ****************** Linking errors *
GOTO EXIT
:EXIT
# multiple se manca le funzioni va in errore
#http://forums.fivetechsupport.com/viewtopic.php?f=3&t=26076&hilit=force
-ldflag=/force:multiple
-n
-m
-w
-es2
-gc0
-p
-q
-oMASTRO
#-map
-trace
#-traceonly
#--hbdirbin
#--hbdirdyn
#--hbdirlib
#--hbdirinc
#--hbinfo
..\mastro\Mastro.prg
..\mastro\Base.prg
.
.
.
.\MAST_NW\H_MASTROXP.RES
xhb.hbc
{win}incpaths=include
{win}libpaths=lib
{win}gt=gtgui
#incpaths=${HB_PATH}\contrib\hwgui\include
incpaths=C:\FWH\include
#incpaths=C:\Dolphin\include
libpaths=C:\FWH\lib
{msvc}libs=fiveh32 fivehc32
{allmingw}libs=fivehg fivehgc xhb
{bcc}libs=fiveh fivehc xhb
libs=hbziparc
libs=hbmzip
libs=minizip
{win}libs=xhb
{win}libs=comctl32
{win}libs=comdlg32
{win}libs=gdi32
#{win}libs=hbcplr
{win}libs=hbct
#{win}libs=hbpcre
{win}libs=hbsqlit3
{win}libs=hbtip
{win}libs=hbwin
-lhbzlib
{win}libs=hbxpp
{win}libs=msimg32
{win}libs=odbc32
{win}libs=ole32
{win}libs=oleaut32
{win}libs=user32
{win}libs=uuid
{win}libs=vfw32
{win}libs=winmm
{win}libs=winspool
{win}libs=wsock32
{win}libs=psapi
{win}libs=version
{win}libs=oledlg
{win}libs=hbnetio
{win}libs=iphlpapi
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot], nageswaragunupudi and 115 guests