xHarbour to Harbour

xHarbour to Harbour

Postby Otto » Fri Dec 13, 2024 9:46 am

Hello friends,
I’m planning to switch from xHarbour to Harbour. Is there a guide available on what needs to be considered?
Since I also work with mod_harbour, it would be easier to use Harbour only.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6364
Joined: Fri Oct 07, 2005 7:07 pm

Re: xHarbour to Harbour

Postby Antonio Linares » Fri Dec 13, 2024 2:54 pm

Dear Otto,

The easiest way is to rebuild using Harbour and see what unresolved externals you get.

It will be very easy :-)
regards, saludos

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

Re: xHarbour to Harbour

Postby Enrico Maria Giordano » Fri Dec 13, 2024 4:00 pm

No, it will not. There are several little behavior differences between Harbour and xHarbour functions, so it is not so easy to switch from one to the other.
User avatar
Enrico Maria Giordano
 
Posts: 8725
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: xHarbour to Harbour

Postby TimStone » Fri Dec 13, 2024 7:28 pm

I did that several years ago ( Antonio's suggestion ) when I started using Visual Studio to build my applications.

As I recall, I had very few issues, and everything was resolved within a day on my very extensive ( large ) application. I've had no problems since.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2950
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: xHarbour to Harbour

Postby Enrico Maria Giordano » Fri Dec 13, 2024 8:18 pm

Yes, the problem can be easily solved once found. Unfortunately, they don't show themselves at the first run the the app. Most likely, the user will report them back.
User avatar
Enrico Maria Giordano
 
Posts: 8725
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: xHarbour to Harbour

Postby Otto » Fri Dec 13, 2024 11:38 pm

Hello friends,
Thank you all. Yes, that is exactly my fear.
Is xHarbour still an active group? It seems to me that Harbour has a much larger share.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6364
Joined: Fri Oct 07, 2005 7:07 pm

Re: xHarbour to Harbour

Postby Antonio Linares » Sat Dec 14, 2024 5:32 am

Dear Otto,

Tim is doing great using Harbour.

You are welcome and we are here to help :-)
regards, saludos

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

Re: xHarbour to Harbour

Postby nageswaragunupudi » Sat Dec 14, 2024 6:42 am

This is my personal opinion.
The conversion should not be difficult for those who already has been programming in both Harbour and xHarbour. Mr. Otto is one of them.

We know FWH software is written to work with both Harbour and xHarbour providing identical functionality with either compiler. It has almost become part of our second nature to handle the differences in every line of the code.

With the kind of experience Mr. Otto has, it should be possible to convert without leaving any issues to be faced by his users.
Regards

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

Re: xHarbour to Harbour

Postby karinha » Sat Dec 14, 2024 2:19 pm

If I have several applications working wonderfully, with the wonderful xHARBOUR, why would I change compilers? It doesn't make sense.

Si tengo varias aplicaciones funcionando de maravilla, con el maravilloso xHARBOUR, ¿por qué cambiaría de compilador? No tiene sentido.

Furthermore, we have wonderful help from our xHarbour master Enrico Maria Giordano.

Además, contamos con la maravillosa ayuda de nuestro maestro xHarbour, Enrico Maria Giordano.

Mis 10 cents.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7872
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: xHarbour to Harbour

Postby Enrico Maria Giordano » Sat Dec 14, 2024 2:36 pm

My only real concern is the very bad attitude of the Harbour developers group... :-(
User avatar
Enrico Maria Giordano
 
Posts: 8725
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: xHarbour to Harbour

Postby Enrico Maria Giordano » Sat Dec 14, 2024 2:38 pm

Anyway, I have both compilers and I can compile my apps with any of them.
User avatar
Enrico Maria Giordano
 
Posts: 8725
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: xHarbour to Harbour

Postby karinha » Sat Dec 14, 2024 2:52 pm

Enrico Maria Giordano wrote:My only real concern is the very bad attitude of the Harbour developers group... :-(


I don't know anything. What are they up to? I don't see the need at the moment to change to HARBOUR, everything works perfectly with xHARBOUR.

No sé nada. ¿Qué están haciendo? No veo la necesidad por el momento de cambiar a HARBOUR, todo funciona perfectamente con xHARBOUR.

Gracias, tks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7872
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: xHarbour to Harbour

Postby Otto » Sat Dec 14, 2024 7:31 pm

Hello friends,

Thank you very much, everyone.

Mr. Rao, thank you for the kind words. At the beginning of the year, I will set up a PC and, separate from the production system, start with the migration. I hope I can count on your help, as always.

Enrico, I don’t have much contact with the Harbour group. However, in the mod_harbour group, which also includes non-FW developers, things are really different from here with us.

At the moment, I am working with Cloudflare. I think Cloudflare proxying is optimal for hosting the mod_harbour server on one’s own PC and FIVEWIN/RDP.

Topic:
The public website will be provided through Cloudflare. Traffic is optimized, cached, and protected, but without special authentication for end users.

Topic: Internal Web Application
I mean for when we transition from desktop to web.
Web access via a Cloudflare Tunnel with token authentication (for internal or protected applications).

To start right away:
RDP access via Cloudflare Tunnel (TCP Forwarding via cloudflared).
RDP connections are routed through a Cloudflare Tunnel, which secures them. A local port is provided by cloudflared access tcp, enabling internal use of RDP without making it directly publicly accessible.

I came across Cloudflare when I noticed that ChatGPT sometimes briefly uses Cloudflare as a forefront.
It’s amazing that Cloudflare is so generous and even offers a free version.


With this, I’ve solved my infrastructure problems: secure homepages, a secure WINHOTEL online version (via Cloudflare Access), and secure RDP with TCP forwarding via cloudflared.

And the best part is you don’t need to open any ports.

When transitioning to a web version, you’ll likely need to work in parallel for a while, possibly with web services. For that, the RDP-Web (Cloudflare Access) combination is super suitable.

The setup is not difficult but not straightforward either.

I have fixed IP addresses, but to ensure independence, I’ll also create a demo without fixed IPs, but still with a domain.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6364
Joined: Fri Oct 07, 2005 7:07 pm

Re: xHarbour to Harbour

Postby Maurizio » Mon Dec 16, 2024 8:25 am

Ciao Otto
in the Harbour doc folder there is this file
xhb-diff.txt
Maurizio
User avatar
Maurizio
 
Posts: 826
Joined: Mon Oct 10, 2005 1:29 pm

Re: xHarbour to Harbour

Postby Otto » Mon Dec 16, 2024 4:53 pm

Dear Maurizio,

Thank you very much. I will take a look at the document.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6364
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 13 guests