Is there a way to host the .NET CLR runtime and register MethodImplOptions.InternalCall functions? (This is not a topic about P/Invoke)
SSCLI代码(特别是clr \\ src \\ vm \\ ecall.cpp)表明无法注册InternalCall
方法,因为关键的gECClasses
表是硬编码的。
IMetaDataImport
is your best bet, but can't really vouch for that. This seems like a specific task for C++/CLI.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.