3 ms·
Agreed, given the choice between P/Invoke and managed C++, managed C++ often has fewer footguns, despite being rooted in C++. You have the compiler checking you
by munchbunny 6y ago
Agreed, given the choice between P/Invoke and managed C++, managed C++ often has fewer footguns, despite being rooted in C++. You have the compiler checking your usage of the native API, and you have the compiler generating .NET interfaces which your managed code can invoke directly.