 |
P/Invoke Wizard Home
|
The PInvoke Wizard |
| |
| PInvoke Wizard |
| 1. What is the PInvoke Wizard? |
|
The PInvoke Wizard is a source code generation tool. With just a few mouse clicks, the PInvoke Wizard can generate thousands of lines of PInvoke declarations for you – in just a second or two. What is your time worth? If you have a large number of declarations to convert, this tool can eliminate hours – even days or weeks – of tedious, mechanical coding tasks.
The PInvoke Wizard was developed by Paul Yao, co-author of six books on Windows programming (including the first book published on Windows programming). He wrote this tool while working on a.NET book. Instead of creating all those declarations by hand – which can be tedious and error prone – he wrote this tool to create publication-ready PInvoke declarations.
What type of source code does it generate? The PInvoke Wizard automates the process of writing managed code (.NET) declarations that all you to call into unmanaged (native) dynamic link libraries (DLLs). You start with a C or C++ include file. It reads the declarations, and generates your choice of C# or Visual Basic .NET. The wizard provides a compatibility switch to work with either the full .NET Framework (for server and desktop systems) as well as the smaller .NET Compact Framework (for mobile and embedded applications).
The PInvoke Wizard saves programmers time and frustration. This tool saves time that you can spend working on other, more interesting parts of your software projects.
|
|
|
|
Last updated: October 25, 2023 By: Paul Yao The Paul Yao Company
|
|
|
|