While we are still in the process of migrating old CAVO 2.8 applications to X#, I got the idea to try to run ReportPro3 X# via a wrapper .NET library to avoid issues in CAVO->X# type mismatches.
If I call ReportPro3 X# via this wrapper from a tester .NET application, it works perfectly fine, but if I try to run it from a CAVO application, the XSharp.Core.Functions.WorkDir() function throws an "Object reference not set to an instance of an object." exception.
Code: Select all
Object reference not set to an instance of an object.
at XSharp.Core.Functions.WorkDir()
at ReportPro3_Designer.Functions.InitDBFEnvironment()
at ReportPro3_Designer.Functions.ReportProInit()
So I'm thinking if there is some kind of property CAVO applications do not set in their application thread which the WorkDir() function requires, or am I missing something else?