fbpx
Welcome, Guest
Username: Password: Remember me
Visual Objects

Please use this forum to post questions about Visual Objects and Vulcan.NET
  • Page:
  • 1

TOPIC: Core application with Vulcan/VO Dll

Core application with Vulcan/VO Dll 9 months 3 weeks ago #5972

  gianluca.pinoli's Avatar Topic Author gianluca.pinoli Offline Posts: 28
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:\GDOSHOP\ARCHIVI9\ARTICOK.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
Attachments:

Please Log in or Create an account to join the conversation.

Core application with Vulcan/VO Dll 9 months 3 weeks ago #5976

  robert's Avatar robert Offline Posts: 994
Gianluca,

The Vulcan code cannot run with .Net Core.

Robert
XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

Core application with Vulcan/VO Dll 9 months 3 weeks ago #5978

  gianluca.pinoli's Avatar Topic Author gianluca.pinoli Offline Posts: 28
Thanks Robert.
Just a quick (and probably stupid) question.
Do X#'s RDD will be usable in Core dialect?

Gianluca

Please Log in or Create an account to join the conversation.

Core application with Vulcan/VO Dll 9 months 3 weeks ago #5979

  wriedmann's Avatar wriedmann Away Posts: 1567
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
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

Please Log in or Create an account to join the conversation.

Core application with Vulcan/VO Dll 9 months 3 weeks ago #5980

  gianluca.pinoli's Avatar Topic Author gianluca.pinoli Offline Posts: 28
Thanks Wolfgang,
Setting my application for x86 only fixed my problem
Your're great.

Gianluca

Please Log in or Create an account to join the conversation.

Core application with Vulcan/VO Dll 9 months 3 weeks ago #5981

  robert's Avatar robert Offline Posts: 994
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.

docs.microsoft.com/en-us/dotnet/standard/net-standard

Robert
XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

Core application with Vulcan/VO Dll 9 months 2 weeks ago #5982

  wriedmann's Avatar wriedmann Away Posts: 1567
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
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

Please Log in or Create an account to join the conversation.

  • Page:
  • 1