Search found 10 matches

by JoeD
Mon Nov 03, 2025 3:09 pm
Forum: Product
Topic: CodeBlock from C#
Replies: 3
Views: 200

Re: CodeBlock from C#

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 ...
by JoeD
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 ...
by JoeD
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 ...
by JoeD
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
by JoeD
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 ...
by JoeD
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.
by JoeD
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 ...
by JoeD
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
by JoeD
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 ...
by JoeD
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 ...