8 posts about PInvoke by 4 contributors.
Know PInvoke? Share what you know with developers who are learning it.
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.
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.
In this article we will learn how to swap mouse buttons programmatically - to make the left button acts as the right and vice versa.
In this example we will use the Compact Framework to create a program containing a launch pad for the Pocket PC.
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!
In this article and the few following it, we’ll try to take a tour in Interoperability in .NET Framework.
In this article we will learn how to create transactional files in Windows Vista and descendants.
In this example we will use the Compact Framework to create a program containing a launch pad for the Pocket PC.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article