I'm beginning to dig into the X# architecture writing a new class SPECDX into the XSharp.RDD namespace, but I can't get the debugger to reach the breakpoint inside it.
It seems it can't load the assembly, because writing anything else "SPECDX" gives the same error:
Code: Select all
DbUseArea(TRUE, "SPECDX", "ANAFRN",, TRUE)
The RDD is declared as follows and the methods are still empty, there is only the skeleton, compiled into a SPECDX.DLL assembly:System.NullReferenceException
Riferimento a un oggetto non impostato su un'istanza di oggetto.
Callstack :
BasicForm.System.Void BasicForm..ctor()() : E:DEVELOPXIDE-ProjectsProject1ApplicationsTestSpePrgForm1.prg : 30
static Int32 FormApp1.Exe.Functions.Start(System.String[] asCmdLine)() : E:DEVELOPXIDE-ProjectsProject1ApplicationsTestSpePrgStart.prg : 18
Code: Select all
USING XSharp.RDD
USING XSharp.RDD.Enums
USING XSharp.RDD.Support
USING System.Collections.Generic
USING SpeClient
BEGIN NAMESPACE XSharp.RDD
CLASS SPECDX INHERIT workarea IMPLEMENTS IRdd
METHOD DbEval(info AS XSharp.RDD.Support.DbEvalInfo) AS LOGIC
RETURN FALSE
METHOD GoTop( ) AS LOGIC
RETURN FALSE
METHOD GoBottom( ) AS LOGIC
RETURN FALSE
METHOD GoTo(nRec AS INT) AS LOGIC
RETURN FALSE
METHOD GoToId(oRec AS OBJECT) AS LOGIC
RETURN FALSE
....others.....
PROPERTY RecId AS OBJECT GET NULL
PROPERTY RecNo AS INT GET 0
PROPERTY Shared AS LOGIC GET FALSE
END CLASS
END NAMESPACE
What I can try to do?
TIA