xsharp.eu • Clipper nach X#
Page 1 of 2

Clipper nach X#

Posted: Thu Dec 21, 2023 7:48 am
by lagraf
Hallo,
ich habe noch ein paar alte Clipper Progs bei Kunden, die lassen sich mit Harbour relativ leicht von 16bit auf 32bit bringen. Gibt es aber auch eine Art Transporter von Clipper nach X#? Es muß ja nicht das GUI verändert werden, aber ein Windows Fenster wäre vielleicht ganz nett. Oder bleibt da nur der Weg nach Alaska?

LG und ein frohes Weihnachtsfest sowie einen guten Rutsch ins neue Jahr
Franz

Re: Clipper nach X#

Posted: Thu Dec 21, 2023 8:11 am
by Chris
Hi Franz,

The X# compiler should be very compatible to Clipper, especially with the use of UDCs for commands and since both X# and Clipper apps are file based, there's not so much need for a Clipper->X# transporter, since there are no binaries and resources to port, not even classes in the code etc. But if it turns out that a transporter can help, we can certainly do that as well.

Regarding the GUI, some years ago we had developed a library that would translate @SAY commands to Windows Forms windows in X# with no changes in the code at all and that was looking very promising, but we didn't get an opportunity to test it with a real Clipper app. Maybe this is a good chance, what size are your Clipper apps?

Re: Clipper nach X#

Posted: Sat Dec 23, 2023 9:41 am
by lagraf
Hi Chris,
the biggest app in use has about 4000 lines of code.
This app actually is compiled and runs with harbour to use it as a 32bit app in a DOS box.
Regards Franz

Re: Clipper nach X#

Posted: Sat Dec 23, 2023 2:29 pm
by Chris
Hi Franz,

That sounds perfect! Would it be possible to send me one or more of those apps, to give them a try in X# and see in practice what might be needed from our side to make it easier to port them? And I would also like to try the winforms concept with them.

Re: Clipper nach X#

Posted: Mon Jan 08, 2024 8:50 am
by lagraf
Hi Chris,
I can make you a testing environment which is compileable with Clipper 5.2 and Harbour 3.0.0.
But you should only put in work if you are interested in this by yourself!
I only have one customer left working with this app and he can do this as long as the harbour compiled 32 bit version runs on Windows.
Franz

Re: Clipper nach X#

Posted: Mon Jan 08, 2024 4:35 pm
by Chris
Hi Franz,

Yes, I am very interested, because if this concept works in practice, it could open more possibilities for X# in the future. But I would need to have the source code for that, not just a testing environment. Of course I can sign an NDA for it before you send it.

Re: Clipper nach X#

Posted: Wed Jan 10, 2024 7:57 am
by lagraf
Hi Chris,
app is sent to your Mailbox. NDA is not necessary, cause it is an old app which is only used by 1 client for many years. He is so familar and happy with this app so he doesn't want to upgrade to a windows app.
Franz

Re: Clipper nach X#

Posted: Wed Jan 10, 2024 9:48 am
by lagraf
Hi Chris,
your mail server refuses zip file with exe so I sent you source only. Did you receive it?
Franz

Re: Clipper nach X#

Posted: Wed Jan 10, 2024 6:18 pm
by Chris
HI Franz,

Unfortunately not, can you please zip again the already zipped first file you sent (which includes binaries) and password protect it? This way the attachment checker cannot read the contents of the zip :)
You might need to rename the first zip file from application.zip to application.txt or similar, before you zip it again.

Thanks and sorry for the trouble!

Re: Clipper nach X#

Posted: Thu Jan 11, 2024 7:52 am
by lagraf
Hi Chris,
that's no problem cause I'm already retired and most of the day I'm alone at home with 2 cats so I'm happy if I have something to do ;) !

I have zipped it as you said, hope it goes through your virus checker.

Franz