Hi,
This is my 2 structures which are used for dll's parameter:
<StructLayout(LayoutKind.Sequential)> Structure TESTDATA
<VBFixedArray(1, 128), MarshalAs(UnmanagedType.ByValArray,
SizeConst:=128)> Dim msData() As Byte
End Structure
<StructLayout(LayoutKind.Sequential)> Private Structure PARA
<VBFixedArray(2),
MarshalAs(UnmanagedType.ByValArray,ArraySubType:=U nmanagedType.ByValArray,
SizeConst:=3)> Dim data() As TESTDATA
End Structure
It will be ok, if PARA structure's data() is not structure(TESTDATA), just
short/integer,etc.
It means that array in structure is OK.
But now the array itself is also a structure,what it should be?
thanks