ComWrappers API Tutorial Sample

The ComWrappers API was introduced in .NET 5.0 to help users build custom COM interop scenarios.

Key Features

  • Statically and dynamically defined Native Object Wrappers.
  • Complete Managed Object Wrapper example.
  • Accompanying walkthrough article.

Build and Run-------------

  1. Install .NET 6.0 or later.

  2. Load Tutorial.csproj in Visual Studio 2022 or build from the command line.

    • Double click on Tutorial.csproj in File Explorer.

    or

    • Open a Command prompt with dotnet on the path and build dotnet build Tutorial.csproj.
  3. Press F5 to build and debug the project or dotnet run Tutorial.csproj