How do xHarbour and Harbour compatible?
How do xHarbour and Harbour compatible?
I would like to know, if I move from xHarbour (1.2.3)+BCC582 to Harbour 3.2.0+MSVC2010.
How do they compatible?
Thanks in advance.
How do they compatible?
Thanks in advance.
Regards,
Dutch
FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Dutch
FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: How do xHarbour and Harbour compatible?
Dutch,
You may easily migrate from xHarbour to Harbour in just few days
You will have all my support and these forums support also
You may easily migrate from xHarbour to Harbour in just few days
You will have all my support and these forums support also
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: How do xHarbour and Harbour compatible?
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
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
Re: How do xHarbour and Harbour compatible?
Dutch
You can easilly migrate from xharbour to harbour
I have added in my main program the following (maybe now it is not needed anymore, Antonio ?)
#ifndef __XHARBOUR__
FUNCTION DbSkipper( n ) ; RETURN __DbSkipper( n )
FUNCTION DbPack() ; RETURN __DbPack()
FUNCTION DbZap() ; RETURN hb_DbZap()
FUNCTION CurDrive( x ) ; RETURN hb_CurDrive( x )
#EndIf
it is almost all i had to do , except for Activex where you need to use the tactivex function that Antonio updated intensively.
Richard
You can easilly migrate from xharbour to harbour
I have added in my main program the following (maybe now it is not needed anymore, Antonio ?)
#ifndef __XHARBOUR__
FUNCTION DbSkipper( n ) ; RETURN __DbSkipper( n )
FUNCTION DbPack() ; RETURN __DbPack()
FUNCTION DbZap() ; RETURN hb_DbZap()
FUNCTION CurDrive( x ) ; RETURN hb_CurDrive( x )
#EndIf
it is almost all i had to do , except for Activex where you need to use the tactivex function that Antonio updated intensively.
Richard
Re: How do xHarbour and Harbour compatible?
Dear Antonio,
It will be helpful for who need to move from and to between xHarbour+BCC32 and Harbour+MSVC2010.
It will be helpful for who need to move from and to between xHarbour+BCC32 and Harbour+MSVC2010.
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
Regards,
Dutch
FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Dutch
FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Re: How do xHarbour and Harbour compatible?
Antonio,
I have downloaded the last Harbour that is uploaded from you. There is no xhb.ch and hbcompat.ch in include directory.
Don't we need this files in last Harbour? or are they forgetten?
(I have copied them from previous Harbour versions)
Thanks.
I have downloaded the last Harbour that is uploaded from you. There is no xhb.ch and hbcompat.ch in include directory.
Don't we need this files in last Harbour? or are they forgetten?
(I have copied them from previous Harbour versions)
Thanks.
Regards,
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
Re: How do xHarbour and Harbour compatible?
Hello ,
for harbour - xHArbour differences looks the file
harbour\doc\xhb-diff.txt
For and Harbour+MSVC2010.
go.bat
mastro.hbm
fwh.hbc
Maurizio
http://www.nipeservice.com
for harbour - xHArbour differences looks the file
harbour\doc\xhb-diff.txt
For and Harbour+MSVC2010.
go.bat
Code: Select all
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
Code: Select all
# 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
Code: Select all
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
Maurizio
http://www.nipeservice.com
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: How do xHarbour and Harbour compatible?
Hakan,
We don't include xhb.ch and hbcompat.ch as they are not in the include folder of Harbour, in fact they are kept in Harbour contribs folder:
https://github.com/harbour/core/tree/master/contrib/xhb
We don't include xhb.ch and hbcompat.ch as they are not in the include folder of Harbour, in fact they are kept in Harbour contribs folder:
https://github.com/harbour/core/tree/master/contrib/xhb
-
- Posts: 1102
- Joined: Mon Oct 17, 2005 5:41 am
- Location: Belgium
- Contact:
Re: How do xHarbour and Harbour compatible?
Hi,
Is Harbour+MSVC2010 also just creating 1 exe-file like xHarbour+BCC32 does, or does it need some DLL's to be installed for running?
Is Harbour+MSVC2010 also just creating 1 exe-file like xHarbour+BCC32 does, or does it need some DLL's to be installed for running?
Regards,
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: How do xHarbour and Harbour compatible?
Marc,
No DLLs required. Just a single EXE
No DLLs required. Just a single EXE
Re: How do xHarbour and Harbour compatible?
I am doing this migration also could not create (or use this topic), for future users who also want to do?
I have a doubt, I can use vs 2012? is the same process of vs 2010?
My idea is use VS2012 to my Windows phone projects and also to compile my applications in FWH, I wonder if everything works that way.
I have a doubt, I can use vs 2012? is the same process of vs 2010?
My idea is use VS2012 to my Windows phone projects and also to compile my applications in FWH, I wonder if everything works that way.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: How do xHarbour and Harbour compatible?
Norberto,
Yes, you can use VS2012. I have been able to built my apps using Harbour + FWH + MSVS2012
Also, the VS2012 debugger is great. I do recommend it, for low level debugging of our apps.
Yes, you can use VS2012. I have been able to built my apps using Harbour + FWH + MSVS2012
Also, the VS2012 debugger is great. I do recommend it, for low level debugging of our apps.
Re: How do xHarbour and Harbour compatible?
Antonio, this is great, has some thread in the Forum with guides? and for the resources? It would be very productive if we could use VS as an IDE for harbour + fwh, it seems that the express version is free for everyone.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: How do xHarbour and Harbour compatible?
Norberto,
Yes, we can use the Microsoft Visual Studio IDE
https://code.google.com/p/fivewinrt/wik ... _for_WinRT
Here it is working fine
Yes, we can use the Microsoft Visual Studio IDE
https://code.google.com/p/fivewinrt/wik ... _for_WinRT
Here it is working fine
Re: How do xHarbour and Harbour compatible?
I discovered one more thing that is important with the MSVC builds ( 2010 or 2012 )
Be sure to add c:\Program Files (x86)\Visual Studio 10.0\Common7\IDE to your path. There are a few .dll files that are used when you use the Windows compiler and linker that are present I that folder.
The ONLY issue I have right now with MSVC is with RDDADS. I'm still having a problem getting it to actually work with ADS 7 or 8, but it works perfectly with version 9 and above.
I would strongly encourage people to make the move. It is clearly time.
Tim
Be sure to add c:\Program Files (x86)\Visual Studio 10.0\Common7\IDE to your path. There are a few .dll files that are used when you use the Windows compiler and linker that are present I that folder.
The ONLY issue I have right now with MSVC is with RDDADS. I'm still having a problem getting it to actually work with ADS 7 or 8, but it works perfectly with version 9 and above.
I would strongly encourage people to make the move. It is clearly time.
Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019