Page 1 of 1

xHarbour to Harbour

Posted: Fri Dec 13, 2024 9:46 am
by Otto
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

Re: xHarbour to Harbour

Posted: Fri Dec 13, 2024 2:54 pm
by Antonio Linares
Dear Otto,

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

It will be very easy :-)

Re: xHarbour to Harbour

Posted: Fri Dec 13, 2024 4:00 pm
by Enrico Maria Giordano
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.

Re: xHarbour to Harbour

Posted: Fri Dec 13, 2024 7:28 pm
by TimStone
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

Re: xHarbour to Harbour

Posted: Fri Dec 13, 2024 8:18 pm
by Enrico Maria Giordano
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.

Re: xHarbour to Harbour

Posted: Fri Dec 13, 2024 11:38 pm
by Otto
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

Re: xHarbour to Harbour

Posted: Sat Dec 14, 2024 5:32 am
by Antonio Linares
Dear Otto,

Tim is doing great using Harbour.

You are welcome and we are here to help :-)

Re: xHarbour to Harbour

Posted: Sat Dec 14, 2024 6:42 am
by nageswaragunupudi
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.

Re: xHarbour to Harbour

Posted: Sat Dec 14, 2024 2:19 pm
by karinha
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.

Re: xHarbour to Harbour

Posted: Sat Dec 14, 2024 2:36 pm
by Enrico Maria Giordano
My only real concern is the very bad attitude of the Harbour developers group... :-(

Re: xHarbour to Harbour

Posted: Sat Dec 14, 2024 2:38 pm
by Enrico Maria Giordano
Anyway, I have both compilers and I can compile my apps with any of them.

Re: xHarbour to Harbour

Posted: Sat Dec 14, 2024 2:52 pm
by karinha
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.

Re: xHarbour to Harbour

Posted: Sat Dec 14, 2024 7:31 pm
by Otto
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

Re: xHarbour to Harbour

Posted: Mon Dec 16, 2024 8:25 am
by Maurizio
Ciao Otto
in the Harbour doc folder there is this file
xhb-diff.txt
Maurizio

Re: xHarbour to Harbour

Posted: Mon Dec 16, 2024 4:53 pm
by Otto
Dear Maurizio,

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

Best regards,
Otto