Hi All,
I'm trying to create a simple lib with a static method for access to a DBF file.
**********************************************************************************************
USING System
USING System.Collections.Generic
USING System.Linq
USING System.Text
using Vulcan.RDD
using Vulcan.Runtime
using Vulcan.VO
BEGIN NAMESPACE TestLibrary
public static class ClassDBF
PUBLIC static METHOD GetDescrizione() AS String
LOCAL oDB as DBServer
local sRet as string
oDB := DBServer{"C:GDOSHOPARCHIVI9ARTICOK.DBF",FALSE,TRUE,"DBFCDX"}
oDB:GoTop()
sRet := (STRING)oDB:FIELDGET("DESCRIZIO")
oDB:Close()
return sRet
END CLASS
END NAMESPACE
********************************************************************************************************
This work fine if called froma a Vulcan application (both consol or winform), but give error in a Core application even if i add reference to VulcanRT,VulcanRTFuncs,VulcanVORDDClasses,VulcanVOSystemClasses.
Is this somenting possible?
Regards
Gianluca Pinoli
Core application with Vulcan/VO Dll
- gianluca.pinoli
- Posts: 36
- Joined: Mon Nov 02, 2015 1:13 pm
- Location: Italy
Core application with Vulcan/VO Dll
Gianluca,
The Vulcan code cannot run with .Net Core.
Robert
The Vulcan code cannot run with .Net Core.
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
- gianluca.pinoli
- Posts: 36
- Joined: Mon Nov 02, 2015 1:13 pm
- Location: Italy
Core application with Vulcan/VO Dll
Thanks Robert.
Just a quick (and probably stupid) question.
Do X#'s RDD will be usable in Core dialect?
Gianluca
Just a quick (and probably stupid) question.
Do X#'s RDD will be usable in Core dialect?
Gianluca
Core application with Vulcan/VO Dll
Hi Gianluca,
first it seems your X# application uses AnyCPU to compile and is running in x64 (64 bit ) mode. The Vulcan runtime is x86 (32 bit ) only.
You can access DBF files also from a Core dialect application if you build an intermediate library that has only classes with native .NET datatypes.
With .NET Core applications I have no experience.
Wolfgang
first it seems your X# application uses AnyCPU to compile and is running in x64 (64 bit ) mode. The Vulcan runtime is x86 (32 bit ) only.
You can access DBF files also from a Core dialect application if you build an intermediate library that has only classes with native .NET datatypes.
With .NET Core applications I have no experience.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
- gianluca.pinoli
- Posts: 36
- Joined: Mon Nov 02, 2015 1:13 pm
- Location: Italy
Core application with Vulcan/VO Dll
Thanks Wolfgang,
Setting my application for x86 only fixed my problem
Your're great.
Gianluca
Setting my application for x86 only fixed my problem
Your're great.
Gianluca
Core application with Vulcan/VO Dll
Gianluca,
We are developing the RDDs fully in managed code, for .Net Framework 4.6, using AnyCPU.
As you can see in the following table, that means that it will work with .Net Core 1.0 and later, as well as Xamarin 10, Mono 4.6 etc.
I must admit that we have not tested against all of these version of .Net yet.
https://docs.microsoft.com/en-us/dotnet ... t-standard
Robert
We are developing the RDDs fully in managed code, for .Net Framework 4.6, using AnyCPU.
As you can see in the following table, that means that it will work with .Net Core 1.0 and later, as well as Xamarin 10, Mono 4.6 etc.
I must admit that we have not tested against all of these version of .Net yet.
https://docs.microsoft.com/en-us/dotnet ... t-standard
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
Core application with Vulcan/VO Dll
Hi Robert,
I'm looking forward to run my first X# web service on a Linux machine.... I have several of them, and DBFs are very easy to use as data storage.
Wolfgang
I'm looking forward to run my first X# web service on a Linux machine.... I have several of them, and DBFs are very easy to use as data storage.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it