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-------------
Install .NET 6.0 or later.
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 builddotnet build Tutorial.csproj
.
- Double click on
Press F5 to build and debug the project or
dotnet run Tutorial.csproj