Re: unmanaged structure layout error
Benjamin Schwehn <[email protected]> Wed, 11 Nov 2009 20:40:08 +0000
| Newsgroups | gmane.comp.windows.devel.dotnet.advanced |
|---|---|
| Message-ID | <[email protected]> |
On 11.11.2009 20:37, Mike Andrews wrote: > But I thought that's what Pack = 1 was for in the StructLayout attribute, so > that you could do just that. The MSDN page for Pack says: "This field indicates the packing size that should be used when the LayoutKind.Sequential value is specified. " This sounds to me like the attribute Pack is ignored for explicit layout, but I'm not sure. Ben =================================== View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives