TokenToSeaSkill 广场
English 控制台

Dotnet Pinvoke

.NET Platform

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…

安装

npx skills add dotnet/skills --skill dotnet-pinvoke