PInvoke Interop Assistant

 Recommended Download



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

 Other Available Downloads



Source Code PInvoke Interop Assistant Source
source code, 1604K, uploaded Jun 11 2008  - 2807 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
 
 
 
 
 

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 at 11: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 at 6: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 7:54 PM 
 
 
 
 
 

great help for using native libraries, this project shows alot of promise
by aL3891 on Aug 5 2008 at 11:43 AM 
Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.27.15987