Frans Bouma wrote: > Why is it irrelevant, if I may ask? It's irrelevant to the question that we were discussing (which was "why did MS design the Managed DirectX API like this?").
> Well, perhaps the answer lies somewhere in the reason why > D3DMATRIX is defined as: > [StructLayout(LayoutKind.Sequential, Size=64, Pack=1), > CLSCompliant(false), DebugInfoInPDB, MiscellaneousBits(65)] > public struct _D3DMATRIX > { > > } > > i.e. an empty struct. (Which I find strange) > > Perhaps it's reflector, dunno ;), but it might also be MC++ (I > assume they've written this managed api in MC++, it would be the > easiest) which creates these kind of constructs. In my previous message I speculated that it might be because of the type library, but I think you are correct, this is actually an artifact of the MC++ compiler, it definitely generates such empty structures. Regards, Jeroen =================================== This list is hosted by DevelopMentorŪ http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com