Core application with Vulcan/VO Dll
Posted: Thu Aug 30, 2018 2:24 pm
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
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