By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,021 Members | 952 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,021 IT Pros & Developers. It's quick & easy.

array in structure(the array itself is also a structure)

P: n/a

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
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
It means that array in structure is OK.
But now the array itself is also a structure,what it should be?

Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.