HARBOUR VS XHARBOUR

HARBOUR VS XHARBOUR

Postby Silvio.Falconi » Wed Mar 06, 2013 6:41 pm

I must explain to a new italian friend, he want init to use our language (fwh)

Harbour or Xharbour, Borland or Microsoft C

1. Wich is the difference ?
2. How many classes and function I must change ?
3. wich libs I must link with my app ?
4. Harbour is fast then xharbour or xharbour is fast more harbour ?
5. what gain to use harbor instead xHarbour ?



Thanks in advance
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7052
Joined: Thu Oct 18, 2012 7:17 pm

Re: HARBOUR VS XHARBOUR

Postby Antonio Linares » Wed Mar 06, 2013 7:58 pm

Silvio,

1) The differences are explained in Harbour/doc/xhb-diff.txt

I have uploaded it to:
https://code.google.com/p/harbour-and-xharbour-builds/downloads/detail?name=xhb-diff.txt
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: HARBOUR VS XHARBOUR

Postby Antonio Linares » Wed Mar 06, 2013 8:00 pm

3) Please review FWH/samples/buildh.bat and buildx.bat to see the different libraries to link
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: HARBOUR VS XHARBOUR

Postby Antonio Linares » Wed Mar 06, 2013 8:03 pm

We can build Harbour with no problems at all on:

* Windows
* Windows Mobile
* Windows 8 RT
* Linux
* Mac OSX
* Apple iOS
* Android
* IBM OS2

For me thats a very good reason to use Harbour instead of xHarbour
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: HARBOUR VS XHARBOUR

Postby Jeff Barnes » Wed Mar 06, 2013 11:47 pm

If using xHarbour, are there many code changes needed to switch to harbour?
Thanks,
Jeff Barnes

(FWH 16.11, xHarbour 1.2.3, Bcc730)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: HARBOUR VS XHARBOUR

Postby Bayron » Thu Mar 07, 2013 12:04 am

I just switched to the path of Harbour3.2 (and using the proper library's), but there are a few things to change if you use the advanced power of this compilers... Nothing big, that can be sorted in a few minutes... I think...

I also included this code in one of my prg's:

Code: Select all  Expand view
#ifndef __XHARBOUR__

    FUNCTION DbSkipper( n ) ; RETURN __DbSkipper( n )
    FUNCTION DbPack() ; RETURN __DbPack()
    FUNCTION DbZap() ; RETURN hb_DbZap()
    FUNCTION CurDrive( x ) ; RETURN hb_CurDrive( x )

   #command QUIT => ( PostQuitMessage( 0 ), __Quit() )

#EndIf
 


In my case I can switch from xHarbour to Harbour by just changing the Compiler profile in UEstudio...
=====>

Bayron Landaverry
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: HARBOUR VS XHARBOUR

Postby nageswaragunupudi » Thu Mar 07, 2013 4:03 am

About:
Code: Select all  Expand view
  #command QUIT => ( PostQuitMessage( 0 ), __Quit() )
 

Long time back, when I used this command, the EXIT procedures declared in all modules stopped executing.

It is in these EXIT procedures we and FWH *may* release some resources, unload DLLs, etc.

Then I had to revert to the standard command as provided by (x)Harbour.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10624
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: HARBOUR VS XHARBOUR

Postby Bayron » Thu Mar 07, 2013 4:08 am

Well, I'm using FWH 12.04 with Harbour 3.2, and if I don't use it this way, my app stays running as an process...
=====>

Bayron Landaverry
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: HARBOUR VS XHARBOUR

Postby Franklin Demont » Thu Mar 07, 2013 7:38 am

test
Franklin Demont
 
Posts: 166
Joined: Wed Aug 29, 2012 8:25 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Rick Lipkin and 64 guests