Structures

  • Thread starter Thread starter Stefano M
  • Start date Start date
S

Stefano M

Hi all,
i'm writing a vb.net program and i need to talk
with a VXD driver via an unmanaged DLL.
DLL functions have some data strcture like:

typedef struct _sosp_out
{
UINT nSamples;
UINT nAmpiezzaMin;
UINT nFRisonanza;
UINT nPeso;
UINT aSosp[50];
} SOSP_OUT;

How can i define this structure in .NET, since i cannot use an array inside a
structure ?

Thanks a lot,
regards
 
Stefano M said:
Hi all,
i'm writing a vb.net program and i need to talk
with a VXD driver via an unmanaged DLL.
DLL functions have some data strcture like:

typedef struct _sosp_out
{
UINT nSamples;
UINT nAmpiezzaMin;
UINT nFRisonanza;
UINT nPeso;
UINT aSosp[50];
} SOSP_OUT;

How can i define this structure in .NET, since i cannot use an array
inside a structure ?


See Structure "MyArrayStruct":
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconstructssample.asp


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
Back
Top