Search found 2560 matches

by Chris
Tue Apr 23, 2024 9:13 am
Forum: 3rd party products
Topic: ReportPro 3.60 for XSharp 2.60 memory exception
Replies: 12
Views: 450

Re: ReportPro 3.60 for XSharp 2.60 memory exception

Hi Michal,

Is that only with SQL tables? Can you please check if you get the same also with dbfs?
by Chris
Tue Apr 23, 2024 8:38 am
Forum: 3rd party products
Topic: ReportPro 3.60 for XSharp 2.60 memory exception
Replies: 12
Views: 450

Re: ReportPro 3.60 for XSharp 2.60 memory exception

Hi Michal,

Is it possible to reproduce the problem in a small standalone app? If yes, can you please send it together with all needed files (rpt, dbfs etc) to have a look?
by Chris
Tue Apr 23, 2024 8:31 am
Forum: Deutsches Forum
Topic: EXIT in FOR Loop
Replies: 15
Views: 455

Re: EXIT in FOR Loop

Robert, Actually both "memvar" and "memvars" are accepted as an option in the pragma! Looks like a bug, isn't it. But both still result to a parser error on the MEMVAR. Will open a detailed ticket. Franz, this is a difference between X# and VO, it would not be possible in .Net to...
by Chris
Tue Apr 23, 2024 8:24 am
Forum: Product
Topic: Miscellaneous questions about converting VO code to X#
Replies: 43
Views: 2213

Re: Miscellaneous questions about converting VO code to X#

Hi Kees, NULL_DATE and #NULL_DATE are two totally different things. NULL_DATE is a constant defined in the runtime (both in VO and X#) and means an empty date value, while #NULL_DATE is a regular SYMBOL (a VO data type), which is defined nowhere in the runtime and has no special meaning by itself, i...
by Chris
Mon Apr 22, 2024 9:02 pm
Forum: Product
Topic: Open DBF’s not visible in BackgroundWorker second thread.
Replies: 9
Views: 380

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

Hi Roland, It's very easy to allow the form to repaint itself while inside a loop, just issue a Application.DoEvents() every once in a while (not in every single iteration, this is overkill and might slow down execution). Just be aware that this will enable the user to do other actions like open oth...
by Chris
Mon Apr 22, 2024 8:57 pm
Forum: Deutsches Forum
Topic: EXIT in FOR Loop
Replies: 15
Views: 455

Re: EXIT in FOR Loop

Hi Franz, OK, in that case, in order to avoid having this compiler option always enabled, it's probably better to have it enabled only locally, in this method that needs it. So you would add a #pragma options ("memvar", on ) just before the method that uses them, and at the end of it a #pr...
by Chris
Mon Apr 22, 2024 8:49 pm
Forum: Product
Topic: Miscellaneous questions about converting VO code to X#
Replies: 43
Views: 2213

Re: Miscellaneous questions about converting VO code to X#

Hi Kees,

What do you mean by "it is not recognized"? Does the compiler complain about it? Everything that starts with # is a symbol, so I assume it's just a symbol with a special meaning that you have created in your code.
by Chris
Mon Apr 22, 2024 2:41 pm
Forum: Deutsches Forum
Topic: EXIT in FOR Loop
Replies: 15
Views: 455

Re: EXIT in FOR Loop

Hi Franz, It's because of the PRIVATE variables declared in the method body of GetArtField(), the parser does not expect them and loses sync. If you really need them, you need to enable support for them in the compiler options, in the App properties, Compiler page, check /memvar: Support MEMVAR, PRI...
by Chris
Mon Apr 22, 2024 8:44 am
Forum: Product
Topic: Miscellaneous questions about converting VO code to X#
Replies: 43
Views: 2213

Re: Miscellaneous questions about converting VO code to X#

Hi Kees, If it helps, it can also be done without an intermediate variable, but in a single line, it's just less readable: ( (ClassNameOfOwner) SELF:Owner):PKey[#AUTNO] := ... You will still need to supply the class name, but if it's the same in most cases, then a global search & replace might m...
by Chris
Mon Apr 22, 2024 7:56 am
Forum: Product
Topic: Looking for Visual Studio walkthrough
Replies: 2
Views: 125

Re: Looking for Visual Studio walkthrough

Hi Art, Which template did you use to create the project? The correct one for the XBase++ dialect is the "Xbase++ console application" and in order to find it easily, please enter "X#" in the search edit box (in the "Create new project" dialect where you get a list of t...