Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Return dotnet variable from dll wrapper

$
0
0
Hello,
I've created a dll which is a wcf wrapper, and a function in this dll which returns an custom object defined in this dll also.
Its NAV 2016, code looks like:
MyWrapper := MyWrapper.Wrapper();
ReturnedObject := MyWraper.Function(parameters);

My problem is that ReturnedObject and its properties remain uninitialised after the function call, what breaks further code flow.

Earlier int the code i call other function from wrapper which returns string - that works completely fine.

Is there a way to retrieve custom objects like this?

Returned object class has attribute
Serializable
but this does not help.

Thanks for any suggestions!

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>