Hi Wolfgang.
Thank you for your suggestion.
I'm not sure if it would be feasible for my approach to have a X#-DLL that exposes only native .NET types.
In the meantime I found the Macro Compiler and I use it like this to create the CodeBlock and redirect the ErrorHandler to my own Method ...
Search found 10 matches
- Mon Nov 03, 2025 3:09 pm
- Forum: Product
- Topic: CodeBlock from C#
- Replies: 3
- Views: 200
- Thu Oct 30, 2025 5:47 am
- Forum: Product
- Topic: CodeBlock from C#
- Replies: 3
- Views: 200
CodeBlock from C#
Hi everyone,
I'm working on a C# unit test where I use a dbSysDat instance derived from dbShellServer. When the underlying DBF file is missing, the VO.dbServer throws an error and displays a modal dialog.
From what I understand, this modal dialog is the default behavior and can be overridden by ...
I'm working on a C# unit test where I use a dbSysDat instance derived from dbShellServer. When the underlying DBF file is missing, the VO.dbServer throws an error and displays a modal dialog.
From what I understand, this modal dialog is the default behavior and can be overridden by ...
- Mon Aug 04, 2025 5:39 am
- Forum: Product
- Topic: Is DBFCDX driver .NET 9 compatible
- Replies: 9
- Views: 11484
Re: Is DBFCDX driver .NET 9 compatible
Hi Jamal,
I was getting the same Error Message in a .net8 Project.
I could solve it by calling the following Line before accessing the Database:
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
As I understand you now need to Register CodePages before using them.
Best regards ...
I was getting the same Error Message in a .net8 Project.
I could solve it by calling the following Line before accessing the Database:
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
As I understand you now need to Register CodePages before using them.
Best regards ...
- Wed Jul 23, 2025 5:41 am
- Forum: Product
- Topic: InCollect() Deprecated
- Replies: 3
- Views: 8154
Re: InCollect() Deprecated
Thank you, Wolfgang and Robert, for the information and for pointing me to the location in the source code.
I suppose I could have thought of checking the source myself.
I’ll go ahead and remove the checks then.
Best regards,
Johannes
I suppose I could have thought of checking the source myself.
I’ll go ahead and remove the checks then.
Best regards,
Johannes
- Tue Jul 22, 2025 5:45 am
- Forum: Product
- Topic: InCollect() Deprecated
- Replies: 3
- Views: 8154
InCollect() Deprecated
Hi everyone,
I get a lot of warnings like:
'XSharp.RT.Functions.InCollect()' is obsolete: ''InCollect()' is not supported'
This is related to code like the following:
IF .NOT. InCollect()
UnRegisterAxit(SELF)
SELF:oSomeObject := NULL_OBJECT
ENDIF
Is there any documentation on what this ...
I get a lot of warnings like:
'XSharp.RT.Functions.InCollect()' is obsolete: ''InCollect()' is not supported'
This is related to code like the following:
IF .NOT. InCollect()
UnRegisterAxit(SELF)
SELF:oSomeObject := NULL_OBJECT
ENDIF
Is there any documentation on what this ...
- Tue Jul 22, 2025 5:37 am
- Forum: Product
- Topic: Visual Studio freezes when adding new XSharp Class
- Replies: 8
- Views: 10868
Re: Visual Studio freezes when adding new XSharp Class
Thank you for your replies.
Next time, I’ll try to modularize the solution, although I’m not sure how easy that will be.
I’m still holding out some hope for X# 3, especially with the possibility of using SDK-style projects and the improved reference handling that comes with it.
Next time, I’ll try to modularize the solution, although I’m not sure how easy that will be.
I’m still holding out some hope for X# 3, especially with the possibility of using SDK-style projects and the improved reference handling that comes with it.
- Mon Jul 21, 2025 6:29 am
- Forum: Product
- Topic: Visual Studio freezes when adding new XSharp Class
- Replies: 8
- Views: 10868
Re: Visual Studio freezes when adding new XSharp Class
Hi Jamal,
Sorry for the late reply — I was tied up with other tasks.
I uninstalled version 2.23.0.2 and installed the newly released version 2.24.0.1. Unfortunately, the issue remains the same.
The solution containing the problematic project includes many other projects. When I try the same in a ...
Sorry for the late reply — I was tied up with other tasks.
I uninstalled version 2.23.0.2 and installed the newly released version 2.24.0.1. Unfortunately, the issue remains the same.
The solution containing the problematic project includes many other projects. When I try the same in a ...
- Tue Jul 01, 2025 4:58 am
- Forum: Product
- Topic: Visual Studio freezes when adding new XSharp Class
- Replies: 8
- Views: 10868
Re: Visual Studio freezes when adding new XSharp Class
Hi Jamal,
I'm using Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.14.4 and XSharp Cahors 2.23.0.2.
I'm not sure why my System would behave like this.
I already disabled all non standard Extensions.
Anything else I could try?
Best regards
Johannes
I'm using Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.14.4 and XSharp Cahors 2.23.0.2.
I'm not sure why my System would behave like this.
I already disabled all non standard Extensions.
Anything else I could try?
Best regards
Johannes
- Mon Jun 30, 2025 6:11 am
- Forum: Product
- Topic: Visual Studio freezes when adding new XSharp Class
- Replies: 8
- Views: 10868
Visual Studio freezes when adding new XSharp Class
Hi everyone,
I'm fairly new to XSharp and recently started working on a project that uses it.
Whenever I try to add a new XSharp class to a recently created XSharp project, Visual Studio often becomes unresponsive and displays a "Visual Studio is busy" message. I usually have to force close Visual ...
I'm fairly new to XSharp and recently started working on a project that uses it.
Whenever I try to add a new XSharp class to a recently created XSharp project, Visual Studio often becomes unresponsive and displays a "Visual Studio is busy" message. I usually have to force close Visual ...
- Fri Jun 13, 2025 8:22 am
- Forum: Welcome
- Topic: Hello X# World
- Replies: 1
- Views: 24630
Hello X# World
Hi everyone,
My name is Johannes, and I'm a .NET developer from Germany with several years of experience in the .NET ecosystem. I've recently started working on a project using X#, and I'm quite curious and excited to explore its capabilities.
I just saw the announcement for X# 3 and I'm looking ...
My name is Johannes, and I'm a .NET developer from Germany with several years of experience in the .NET ecosystem. I've recently started working on a project using X#, and I'm quite curious and excited to explore its capabilities.
I just saw the announcement for X# 3 and I'm looking ...

