Note: PInvoker Addin requires the .NET Framework 3.5 SP1 and an installation of Microsoft Visual Studio 2005, 2008 or 2010 with C++ installed (or an installation of Microsoft C++ Express).
The latest version of PInvoker Addin is 1.1.4 and can be downloaded by clicking the link.
After installation select the PInvoker Addin menu item on the Tools Menu in Visual Studio to show the PInvoker Addin tool window.
When PInvoker Addin is installed unlicensed it will only allow you to import windows.h with kernel32.dll.
Please see the purchasing page for instructions on how to obtain a license.
Note: PInvoker requires the .NET Framework 2.0 SP2 and an installation of Microsoft Visual Studio 2005, 2008 or 2010 with C++ installed (or an installation of Microsoft C++ Express).
The latest version of PInvoker is 1.2.9 and can be downloaded by clicking the link.
When PInvoker is installed unlicensed it will export a maximum of 15 symbols from the first dll specified.
Click the link to download a PInvoker generated .NET interface dll for kernel32.dll using windows.h.
The exported methods exist in the Windows.Interop.Win32Methods class, the exported constants in the Windows.Interop.Win32Constants class.
The download also includes a copy of PInvoker.Marshal.dll on which all PInvoker exported interface assemblies depend.
Example C# projects using the PInvoker export of kernel32.dll with windows.h can be downloaded by clicking the link.