Solved BUG in .NET Explorer -> Receive String Array

Report TD 5.x and 6.x bugs and possible workarounds.
OeavDev
Austria
Posts: 98
Joined: 15 May 2018, 11:18
Location: Vienna

BUG in .NET Explorer -> Receive String Array

Post by OeavDev » 26 Jul 2016, 09:02

:!: 1: A .NET dll with one Receive String Array Parameter:

.NET Code:
public int GetArray( ref string[] Strarray)
{
Strarray = new string[]{"TEST1", "TEST2", "TEST3"};
return 1;
}

Gupta Code:
Call DLLTest_str.GetArray( asTest )


=> Error:
"Der Wert darf nicht NULL sein.
Parametername: types"


=> cause:
"Set payLoad = payLoad || '<ArrayBYREFSTRING><ArrayType>System.String</ArrayType><ArrayValues>'"

This line should be:
"Set payLoad = payLoad || '<Array' || BYREFSTRING || '><ArrayType>System.String</ArrayType><ArrayValues>'"


/EDIT

Solved in TD 7.4

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest