Closed sclarke81 closed 5 years ago
Hi,
I didn't know about Vanara. I've quickly looked at it and it seems to contains lots of p/invoke code. However it seems very raw wrapper (I may be wrong as I haven't spent lots of time looking at the code). If you look at my project, you'll see it contains some win32 wrappers, but I try to expose them in an OOP way when it's possible (more C# friendly).
Also this projects contains lots of useful classes not related to win32 at all.
Yes, you're right. Sorry, I don't think my original comment was very clear. What I was suggesting is that you make use of the wrappers provided by Vanara when building your wrappers. For example, I think you could drop the code in the Natives
folders in the Win32 projects in your framework.
There are not a lot of pinvoke in this project, so I'm not sure I will switch to Vanara at the moment. Maybe I'll consider it for another project.
Thanks for letting me know the existance of this project.
When I was looking for your project I also came across Vanara. I wonder if it might be worth you using it instead of doing it yourself?