Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 7329

Re: PB 12.5 Classic how to return a C# dll array

$
0
0

OK - well, that's the C# side and it all looks fine.  That was the first half of my question...

 

What does your method declaration AND invocation code look like in PB?

 

You have to use a variable of the ANY datatype as the return variable, then you cast that into the defined structure.  Something like this:

ANY myAnyVar

myStructure l_myStructure[]  // local array of your structure class

 

myAnyVar = ReturnItems( "INBOX" )

l_myStructure = myAnyVar


Viewing all articles
Browse latest Browse all 7329

Trending Articles



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