Skip to content

PInvoke

8 posts4 contributors

+ FollowBe the first to follow this
Write about it

Articles about PInvoke

  1. 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.

    Tural SuleymaniTural Suleymani5,3431,000
  2. 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.

    Sam HobbsSam Hobbs77,8121,000
  3. 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.

    Mohammad ElsheimyMohammad Elsheimy21,9661,000
  4. 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.

    Dipal Choksi42,1671,000
  5. .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!

    Mohammad ElsheimyMohammad Elsheimy9,4191,000
  6. .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.

    Mohammad ElsheimyMohammad Elsheimy6,4381,000
  7. Creating Transacted Files

    In this article we will learn how to create transactional files in Windows Vista and descendants.

    Mohammad ElsheimyMohammad Elsheimy16,0641,000
  8. 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.

    Dipal Choksi2,8701,000