Saturday, March 13, 2004 - Posts

P/Invoke Definitions and Samples

I have been thinking about starting an on-line reference for P/Invoke definitions. Each definition will be accompanied by an example and the .NET managed equivalent if available. Before undertaking this task, I wondered if anyone out there already had something similar. I know that this information is available, but I am not aware of a single consolidated source. A project like this would rely on the inputs of the community to help insure the accuracy and quality of the information provided. Any ideas or suggestions would be appreciated.

Binary data from a structure

As a followup to my previous article Structure from binary data, this article looks at a few of the techniques a .NET developer can use to convert from a structure to a byte array. Please take a look at the artile in my Articles links under the title Binary data from a Structure.