Looking for win32 api bindings AOT friendly
Hello ! Do you know any win32 api binding using LibraryImport (required for aot) ?
4 Replies
to be clear, LibraryImport isn’t required for Native AOT
DllImport works, even with a subset of marshaling
have you found a library that doesn’t work?
In fact I follow closely the news about the language and thought it couldn’t work with aot
But if I understand correctly that can be an issue on Apple devices because of the il stub required at runtime
Which is not an issue for me since I target the win32 api so that’s cool
I need the memory api but can’t really find what I want
MemorySharp seems discontinued
there are a couple of people in #allow-unsafe-blocks who know about/maintain these type of libraries, you may want to ask there
Thank you very much I’ll ask there