12-07-2016 9:13 AM - edited 02-03-2024 5:54 PM
C# function:
public static byte[] Test(byte[] argbBytes)
{
return argbBytes;
}
PB declaration:
FUNCTION Blob Test(Blob argbBytes) LIBRARY "TestLibrary1.dll" ALIAS FOR "Test"
PB call:
Blob lbl_Blob1, lbl_Blob2
lbl_Blob1 = Blob("test", EncodingAnsi!)
lbl_Blob2 = Test(lbl_Blob1)
Error I am getting:
Unsupported argument type in DLL function test at line 3 ...
Works with strings, integers and any other type I throw at it, except blob despite archived forum post saying it should work.
PowerBuilder Version 11.5.1 Build 5097.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.