Categories
Native NETCF

P/Invoke Add-in for Visual Studio

The site at www.pinvoke.net is a rapidly expanding Wiki solely devoted to P/Invoke definitions for .NET. This now includes Compact Framework P/Invokes for coredll, aygshell, rapi etc.


To accompany this resource there is a Visual Studio plugin which gives you a right click option while editing code to insert a ready-made P/Invoke definition. If the one you want isn’t available then you are encouraged to add the definition to the library.


You can download the add-in from GotDotNet:-


http://www.gotdotnet.com/Community/UserSamples/Download.aspx?SampleGuid=75122F62-5459-4364-B9BA-7B5E6A4754FE


The downside to the www.pinvoke.net site is that it only displays correctly in Internet Explorer.


For the Compact Framework specific wiki check out http://wiki.opennetcf.org


 

By Peter Foot

Microsoft Windows Development MVP