473,499 Members | 1,589 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1981
by: googleo | last post by:
Hi, in my application I want to handle and store data in a hierarchic data structure. For example: persons who manage houses; houses have various numbers of floors; floors have various numbers...
1
1172
by: Metallicraft | last post by:
Is a vb6 byte array the same as a vb.net byte array?
4
1715
by: Gary | last post by:
I have a status text on my status bar which simply lists the logged in user name. the code that puts text into this is: stUserName.Text = "Currently logged in user: " +...
1
4868
by: Richard Harter | last post by:
On Fri, 27 Jun 2008 09:28:56 -0700 (PDT), pereges <Broli00@gmail.comwrote: There are some obvious questions that should be asked, e.g., is the contents of your array already sorted as your...
0
7132
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7178
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7223
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5475
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4602
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3103
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.