Page 2 of 3

Re: First programs under 2.0

Posted: Fri Dec 04, 2020 8:26 am
by Eugene Lutsenko
Wolfgang Ciriack wrote: Fri Dec 04, 2020 5:32 am You need an update from Xb2.Net.
Wolfgang! Could you remind me of Boris Borzik's email?

Re: First programs under 2.0

Posted: Fri Dec 04, 2020 8:41 am
by rdonnay
You will have to rewrite these code snippets without xb2net
Yes, that is correct.

Re: First programs under 2.0

Posted: Fri Dec 04, 2020 7:24 pm
by Eugene Lutsenko
So I'll do that. And another question. If I completely switch to 2.0, will everything work on w10 and w7?

Re: First programs under 2.0

Posted: Fri Dec 04, 2020 7:37 pm
by sdenjupol148
Hi Eugene,

I have several different software packages at several different clients.
Everything is compiled under 2.0 and my clients have a mixture of Win7 and Win10 machines.
There are no issues; everything works great.

Bobby

Re: First programs under 2.0

Posted: Fri Dec 04, 2020 10:09 pm
by Eugene Lutsenko
Thank you, SbDrakos, this pleases. Do you also get lists of ch files when compiling? I have never been able to compile a large system (Eidos) that I make for 2.0. Writes that there is no memory. And in 1.9, the same thing is compiled and there is enough memory. I can't make a project file for it. To do this, you need to find out which ch and lib are really necessary for it. I don't know where to get this information

Re: First programs under 2.0

Posted: Fri Dec 04, 2020 11:49 pm
by Auge_Ohr
hi,
Eugene Lutsenko wrote: Fri Dec 04, 2020 10:09 pm I have never been able to compile a large system (Eidos) that I make for 2.0. Writes that there is no memory. And in 1.9, the same thing is compiled and there is enough memory. I can't make a project file for it.
why do you think Xbase++ v2.x is "better" for your Code :roll:
Xbase++ will not compile a PRG with 100000 lines ...
Eugene Lutsenko wrote: Fri Dec 04, 2020 10:09 pm To do this, you need to find out which ch and lib are really necessary for it. I don't know where to get this information
AFAIK, your Source must #include *.CH Files else you got "Warnings" when compile with /W

Re: First programs under 2.0

Posted: Sat Dec 05, 2020 1:37 am
by Eugene Lutsenko
I think 2.0 is better, because it is 10 years newer. Has Alaska done something valuable in 10 years? I hope this will work better under w10. You can also opt out of xb2net, which I can't update. I will make a project for the Eidos system. You just need to block the workbench, otherwise it keeps popping up for something else. The AFAIK command lets you know which ch files to include in the source code? How do I use it?

Re: First programs under 2.0

Posted: Sat Dec 05, 2020 3:40 am
by Auge_Ohr
hi,

it is not the Question if Xbase++ v2.x is better as Xbase++ v1.9x.
it was the Question if it "help" you with your Code :?:

Xbase++ v2.x also will refuse to compile your Code with 100000 lines in 1 x PRG ... NO Compiler will do it :naughty:

---
You just need to block the workbench, otherwise it keeps popping up for something else.
The AFAIK command lets you know which ch files to include in the source code? How do I use it?
you should learn to work in Workbench ...

compile ONE Module until you got not Warnings with /W
search for missing Constant under \INCLUDE to which *.CH it belong ( use TC or HBFM )

i have #include "DcDialog.CH" in each of those 795 *.PRG ... have fun

Re: First programs under 2.0

Posted: Sat Dec 05, 2020 8:05 am
by rdonnay
Your code will compile faster if you break it down into many smaller .PRG files instead of 1 or 2 large .PRG files.

Re: First programs under 2.0

Posted: Sat Dec 05, 2020 8:11 am
by Eugene Lutsenko
Thanks. I understand that. I already manage to make small programs in 2.0 under W10.