Here is the sample piece of code using StructLayout Attribute :
Code:[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public struct ParserMacroInfoTree { public ParserMacroInfo Element; public IntPtr next; //public IntPtr Right; }
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Threaded View
|
Click Here to Expand Forum to Full Width |