At the moment I have had to change my COM wrapped C# code to return JSON strings in order to call it the new way in PowerBuilder 2019 R3. This works well, but extrating the results from the returned JSON is a pain. I feel like I heard someone say there may be improvements to C# integration that would allow the return of complex datatypes coming to SnapDevelop / PowerBuilder in the future at Elevate 2021.
Was I just imagining this? Can anyone elaborate?
I did start to write my own C# class to PowerBuilder structure converter, which worked fairly well up to a point, but I just don't have the time to finish it off, but it did look possible to automatically convert complex C# datatypes to structures, as long as everything in the complex datatypes ends up eventually being a simple datatype.
Thanks