Search found 254 matches

by leon-ts
Tue Apr 23, 2024 9:32 am
Forum: Product
Topic: Open DBF’s not visible in BackgroundWorker second thread.
Replies: 9
Views: 370

Re: Open DBF’s not visible in BackgroundWorker second thread.

Hi Roland, I would suggest that you move your calculation function to a second thread without being tied to the currently open workareas of the main thread. That is, in the second thread you will re-open all the files you need for the calculation in shared mode + read-only (just for productivity), p...
by leon-ts
Sun Jan 21, 2024 8:36 am
Forum: Product
Topic: RuntimeState and asynchronous tasks
Replies: 2
Views: 491

Re: RuntimeState and asynchronous tasks

Robert, The Workareas list is linked to the fact that the RuntimeState is allocated per thread. It calls GetInstance() to get the current instance. If we make the state asynclocal then we need some other mechanism to keep track of RDDs per thread. No changes are expected to the Workareas property. I...
by leon-ts
Fri Jan 19, 2024 12:08 pm
Forum: Product
Topic: RuntimeState and asynchronous tasks
Replies: 2
Views: 491

RuntimeState and asynchronous tasks

Hi, Currently, the RuntimeState class uses the ThreadLocal class to store values. This is fine for classic multi-threaded programming based on Thread classes, but causes problems in the more modern style based on asynchronous tasks (Task class, async, await). The problem is that asynchronous tasks a...
by leon-ts
Tue Nov 14, 2023 7:22 am
Forum: Deutsches Forum
Topic: Migration xBase-Datenbanken zu SQL
Replies: 23
Views: 5073

Re: Migration xBase-Datenbanken zu SQL

Hallo Jörg, Es wird aber wahrscheinlich nicht mehr praktikabel zu sein, wenn die SQL-Datenbank in der Cloud arbeiten soll? Wie Wolfgang richtig bemerkt hat, arbeiten wir mit ADO.NET, was uns die Unterstützung von Azure SQL (sowie allen Arten von SQL Server, einschließlich kostenlosem Express und Loc...
by leon-ts
Mon Nov 13, 2023 12:56 pm
Forum: Deutsches Forum
Topic: Migration xBase-Datenbanken zu SQL
Replies: 23
Views: 5073

Re: Migration xBase-Datenbanken zu SQL

Hallo! Das Unternehmen, für das ich arbeite, hat dieses Problem vor 10 Jahren gelöst. Zuerst war es eine Lösung für VO, und jetzt haben wir sie auf X# übertragen, wo sie seit zwei Jahren erfolgreich für unsere Kunden läuft. Die Lösung ist SQL RDD für MS SQL. Die Anwendung kann in zwei Modi arbeiten:...
by leon-ts
Sat Oct 21, 2023 2:25 pm
Forum: Product
Topic: VO menu editor
Replies: 24
Views: 4504

Re: VO menu editor

Hi Chris,
Many thanks!
by leon-ts
Sat Oct 21, 2023 11:40 am
Forum: Product
Topic: VO menu editor
Replies: 24
Views: 4504

Re: VO menu editor

Hi Chris,
Here is a fixed example project:
XSharpBetaTest_CyrillicMenuFixed.zip
(23.86 KiB) Downloaded 124 times
by leon-ts
Sat Oct 21, 2023 7:24 am
Forum: Product
Topic: VO menu editor
Replies: 24
Views: 4504

Re: VO menu editor

Hi Chris,
Apparently, in this part I just made a bad example. I manually made parts of this example from a real application. And as I reported earlier, in the real application I also edit the menu manually for now. So it's just my mistake (including in the real application).
by leon-ts
Fri Oct 20, 2023 6:14 pm
Forum: Product
Topic: VO menu editor
Replies: 24
Views: 4504

Re: VO menu editor

Chris,
Thanks!

Here is an example project:
XSharpBetaTest_CyrillicMenu.zip
(23.86 KiB) Downloaded 118 times
by leon-ts
Fri Oct 20, 2023 9:54 am
Forum: Product
Topic: VO menu editor
Replies: 24
Views: 4504

Re: VO menu editor

Hi Chris, For a visual demonstration, I recorded a short video: https://1drv.ms/u/s!AlzZH96rHaSP6RhGid3NP6ZETihy?e=QNUlsL After saving the changes, the problem is most noticeable on rc files. But in PRG there is also a subtle difference: in definition names, instead of having one underscore between ...