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
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

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.