PInvoke Interop Assistant

Rating:        Based on 11 ratings
Reviewed:  6 reviews
Downloads: 45164
Released: Jun 5, 2008
Updated: Sep 23, 2008 by XiaoyingGuo
Dev status: -not yet defined by owner-

Recommended Download

Application PInvoke Interop Assistant Installation
application, 1493K, uploaded Jun 11, 2008 - 37955 downloads

Other Available Downloads

Source Code PInvoke Interop Assistant Source
source code, 1604K, uploaded Jun 11, 2008 - 7209 downloads

Release Notes

In marshalling, there are a bunch of attributes and rules. Understanding all those attributes and rules seem a bit daunting. In order to make developing work more efficient and easier on those attributes and the rules, P/Invoke Interop Assistant comes out. It is a toolkit that helps developers to efficiently convert from C to managed P/Invoke signatures or verse visa. This is conceptually similar to TlbImp for COM Interop which generates managed proxy entry points based on some formal description of the unmanaged side but it works for P/Invoke. The toolkit was first released on MSDN Magazine website in Jan, 2008.

The toolkit contains the following things:
  • A command-line tool for managed-to-unmanaged signature conversion
  • A command-line tool for unmanaged-to-managed signature conversion
  • A GUI tool combining all the conversion functionality
  • An XML database file containing Windows API signature data (referenced from VS2005 SDK)
  • A help manual
To use the tool, you either feed in an MSIL assemblies and get out C source for the proper unmanaged signatures or feed in C source with the unmanaged signature and get out proper VB/C#. The command-line tools allows batch processing for multiple files.

More information about the P/Invoke Interop Assistant can be found in the help mannual attached with the release package.

Reviews for this release

     
The help file appears to be missing. Is there a user guide online?
by saberman on Feb 24, 2012 at 9:47 PM
     
i want download this.
by go on Mar 3, 2010 at 2:05 AM
     
very helpful for me!together with source code, yeah!great!hope to learn from master besides using the smart toolkit!
by orlando22 on Apr 8, 2009 at 10:35 AM
     
Extremely useful to me, as I need to interface to complicated native methods--ones that return pointers to structures, etc. For mobile development there isn't much alternative because C++/CLI is not supported. You have to connect managed code to native code using P/Invoke.
by mobilemax on Feb 13, 2009 at 5:08 AM
     
Really neat stuff. This is new to me. I tried opening a few DLLs I believe were originally written in ANSI C (or C++). When opening, I received an error that mentions the Assembly Manifest was missing from file. What needs to be done to correct this. Thanks.
by shaggygi on Nov 2, 2008 at 6:54 PM
     
great help for using native libraries, this project shows alot of promise
by aL3891 on Aug 5, 2008 at 10:43 AM