by R0b0t1 · 4y ago · 0 comments
The first iterations of .NET were just for webapps. You could only work with and call .NET code, the only functions provided were basic IO and network.
I'm curious to know what you needed to do with native libraries. I've been programming with .NET around 20 yrs and find it fairly rare that I need to use P/Invoke... But I'm sure it depends on what you're building.
1: https://withinboredom.info/blog/2019/11/26/detecting-if-a-sc...
You need to use them if you need to control raw GDI objects like bitmaps.
Interop with native code was always very easy. From PInvoke to managed C++ there were a lot of ways to do it with ease. Things have changed but I still think this is one area where .NET has great support.