C
C#2y ago
Oxy

Looking for win32 api bindings AOT friendly

Hello ! Do you know any win32 api binding using LibraryImport (required for aot) ?
4 Replies
reflectronic
reflectronic2y ago
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?
Oxy
OxyOP2y ago
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
reflectronic
reflectronic2y ago
there are a couple of people in #allow-unsafe-blocks who know about/maintain these type of libraries, you may want to ask there
Oxy
OxyOP2y ago
Thank you very much I’ll ask there
Want results from more Discord servers?
Add your server