dotnet-pinvoke
Correctly call native (C/C++) libraries from .NET using P/Invoke and LibraryImport. Covers function signatures, string marshalling, memory lifetime, SafeHandle, and cross-platform patterns. USE FOR: writing new P/Invoke or LibraryImport declarations, reviewing or debugging existing native interop code, wrapping a C or C++ library for use in .NET, diagnosing crashes, memory leaks, or corruption at the managed/native boundary. DO NOT USE FOR: COM interop, C++/CLI mixed-mode assemblies, or pure managed code with no native dependencies.
Listed from its GitHub repository. Reports from people who tried it will appear here.
- Source
- dotnet/skills
- GitHub stars
- 6,332
- License
- MIT
No reports yet
Nobody has written down how dotnet-pinvoke works with their agent. Tried it? Say whether it worked, and with which agent and model.
Write the first report