PInvoke
8 posts4 contributors
Articles about PInvoke

Integrating C/C++ Libraries to .NET Applications with P/Invoke
Integrating CC++ libraries into .NET applications using PInvoke allows you to call native code from managed code. This process involves declaring methods in C++ libraries using extern "C" and importing them into .NET with the DllImport attribute.
Native Windows Dynamic Link Libraries (DLLs)
This article briefly explains what a native Windows Dynamic Link Library (DLL) is, shows how to create a DLL using C++, how to consume it in C# and then explains how DLLs work.

Programmatically Swapping Mouse Buttons
In this article we will learn how to swap mouse buttons programmatically - to make the left button acts as the right and vice versa.
Invoking Unmanaged DLL Functions from Compact Framework for Pocket PC
In this example we will use the Compact Framework to create a program containing a launch pad for the Pocket PC.
.NET Interoperability at a Glance 3 - Unmanaged Code Interoperation
This is the last article in this series, it talks about unmanaged code interoperation; that’s, interop between .NET code and other code from other technologies (like Windows API, native libraries, COM, ActiveX, etc.)Be prepared!
.NET Interoperability at a Glance 1 – Introduction
In this article and the few following it, we’ll try to take a tour in Interoperability in .NET Framework.
Creating Transacted Files
In this article we will learn how to create transactional files in Windows Vista and descendants.
Invoking Unmanaged DLL Functions from Compact Framework for Pocket PC
In this example we will use the Compact Framework to create a program containing a launch pad for the Pocket PC.







