Export C entry points from C# with Native AOT and UnmanagedCallersOnly and call them from C/C++ - project setup, string handling, and a working sample. Archived version of https://comcomponent.com/en/blog/2026/03/12/003-csharp-native-aot-native-dll-from-c-cpp/, as published on 2026-07-27. The live article is maintained and may change after this date. First published 2026-03-12.
Go Komura (Mon,) studied this question.