C# COM object and PowerBuilder
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Sadly, I have to create a COM object in C# that will be consumed by a PowerBuilder 11.5 application. Given some parameters, I need to return a byte array. I'm having trouble determining how to do this. I've tried including a ref parameter of type byte[]; no dice. I've tried declaring the parameter as "out"; again, no dice. I know the bytes I want to return are valid because I wrote them out to a file to verify. Can someone please tell me the best method to return a byte array to a calling application?