 |
P/Invoke Wizard Home
|
The PInvoke Wizard |
| |
| PInvoke Programming |
| 1. What Is PInvoke? |
|
PInvoke (also called "Platform Invoke") lets managed code call into unmanaged DLL functions. PInvoke is supported in both the .NET Framework and the .NET Compact Framework. There are differences between how PInvoke works in the two frameworks, and the PInvoke Wizard lets you set an option for the framework that you are targeting.
Sometimes it makes sense to port legacy native code to managed code. But often, it makes sense to use existing native code DLLs that have already been written, debugged, and deployed. PInvoke helps bridge the gap between managed code and native code, and the PInvoke Wizard simplifies the task of creating managed code declarations to access your native-code DLLs.
|
|
Last updated: October 25, 2023 By: Paul Yao The Paul Yao Company
|
|
|
|