Jamal,
I see a few problems when debugging this:
1) XSharp.CoreDb.RddInfo(_SET_AUTOOPEN, 1);
The second value should be a logical (true)
2) The Macro compiler tries to locate several types when loaded for the first time. I see that it fails to locate System.Decimal.Zero when running in .Net 9.
I ...
Search found 2512 matches
- Tue Mar 11, 2025 11:20 am
- Forum: Product
- Topic: Is DBFCDX driver .NET 9 compatible
- Replies: 9
- Views: 12895
- Tue Mar 11, 2025 7:25 am
- Forum: 3rd party products
- Topic: Xs2Ado and bBrowser problem
- Replies: 5
- Views: 5654
Re: Xs2Ado and bBrowser problem
Jacek,
Try adding an oRs:Close() to your function.
Robert
Try adding an oRs:Close() to your function.
Robert
- Sun Mar 09, 2025 10:15 am
- Forum: Product
- Topic: Problems trying to port some simple Vulcan library to XSharp
- Replies: 11
- Views: 3417
Re: Problems trying to port some simple Vulcan library to XSharp
Carlos,
Most likely your app has the "implicit clipper calling convention" compiler option enabled (vo5)
COM does not like that.
Change the method declaration to:
METHOD GenerarQR() AS VOID STRICT
Do the same for all other methods that have no arguments, and regenerate the wrapper class in VO ...
Most likely your app has the "implicit clipper calling convention" compiler option enabled (vo5)
COM does not like that.
Change the method declaration to:
METHOD GenerarQR() AS VOID STRICT
Do the same for all other methods that have no arguments, and regenerate the wrapper class in VO ...
- Sat Mar 08, 2025 7:48 am
- Forum: Product
- Topic: Problems trying to port some simple Vulcan library to XSharp
- Replies: 11
- Views: 3417
Re: Problems trying to port some simple Vulcan library to XSharp
Carlos
What are the parameters for the GenerateQr method in X#
Robert
What are the parameters for the GenerateQr method in X#
Robert
- Tue Mar 04, 2025 3:04 pm
- Forum: Product
- Topic: Expose C# function in CDX Tag
- Replies: 4
- Views: 1570
Re: Expose C# function in CDX Tag
Jamal,
Robert,
The [assembly: ClassLibrary(....] is supported in .NET Framework, but not in .NET. Is there an attribute in .NET 9.0 for example that the same requirement?
That attribute is part of the X# runtime, in the XSharp.Internal namespace, inside XSharp.Core.Dll
It should also work in ...
Robert,
The [assembly: ClassLibrary(....] is supported in .NET Framework, but not in .NET. Is there an attribute in .NET 9.0 for example that the same requirement?
That attribute is part of the X# runtime, in the XSharp.Internal namespace, inside XSharp.Core.Dll
It should also work in ...
- Tue Mar 04, 2025 11:52 am
- Forum: Product
- Topic: OT: Successfully Implemented an ATM Application with X# and WinForms
- Replies: 3
- Views: 1487
Re: OT: Successfully Implemented an ATM Application with X# and WinForms
Irwin,
Thanks for sharing. Do you have some images to show what it looks like?
Robert
Thanks for sharing. Do you have some images to show what it looks like?
Robert
- Mon Mar 03, 2025 7:39 pm
- Forum: Product
- Topic: Who's (still) using the Vulcan Runtime ?
- Replies: 6
- Views: 2436
Who's (still) using the Vulcan Runtime ?
We're busy with the final steps of version 3 of the X# compiler.
One of the questions that we have is if we should continue to support the Vulcan Runtime DLLs (what we introduced as Bring Your Own Runtime, several years ago).
Removing the support for Vulcan will make the compiler a bit cleaner and ...
One of the questions that we have is if we should continue to support the Vulcan Runtime DLLs (what we introduced as Bring Your Own Runtime, several years ago).
Removing the support for Vulcan will make the compiler a bit cleaner and ...
- Mon Mar 03, 2025 4:32 pm
- Forum: Product
- Topic: Expose C# function in CDX Tag
- Replies: 4
- Views: 1570
Re: Expose C# function in CDX Tag
Jamal,
- Create the function as a public static (like you did)
- Add an attribute to the C# assembly to tell the runtime that your app contains functions. The following is the attribute for the VOGuiclasses.
[assembly: ClassLibrary("VOGUIClasses.Functions", "VO")]
This tells the runtime that ...
- Create the function as a public static (like you did)
- Add an attribute to the C# assembly to tell the runtime that your app contains functions. The following is the attribute for the VOGuiclasses.
[assembly: ClassLibrary("VOGUIClasses.Functions", "VO")]
This tells the runtime that ...
- Fri Feb 28, 2025 8:43 am
- Forum: Visual FoxPro
- Topic: Alternatives for missing features?
- Replies: 9
- Views: 6708
Re: Alternatives for missing features?
Fabrice,
I am not sure if you are aware of this, but we no longer need the PSZ type for _DLL declarations.
And I would also recomment to use IntPtr for the handles, because that will also work in 64 bit mode:
So this is the "modern" declaration:
_DLL FUNCTION ShellExecute( hWnd AS IntPtr ...
I am not sure if you are aware of this, but we no longer need the PSZ type for _DLL declarations.
And I would also recomment to use IntPtr for the handles, because that will also work in 64 bit mode:
So this is the "modern" declaration:
_DLL FUNCTION ShellExecute( hWnd AS IntPtr ...
- Wed Feb 26, 2025 2:40 pm
- Forum: Deutsches Forum
- Topic: Image File
- Replies: 12
- Views: 10589
Re: Image File
Chris,
Robert
A long time ago. In 2016.Chris wrote: Wed Feb 26, 2025 12:48 pm I am not sure when Robert made this adjustment, but it solves all related issues.
Robert

