Closed kwpatrick closed 10 years ago
Cool, I'm looking at some of the other things you identified as well. Hopefully I can contribute some less trivial stuff soon!
Not many scenarios rely on code access security, and those probably wouldn't be allowed to load a random native DLL anyways, so I think that this is safe overall. I believe that I can cite System.Data.SqLite as a popular library which takes a similar approach to handling its native interop, if memory serves.
I just created issues for the two most obvious things to me that could be done... i'll get to them at some point, but right now everything seems to be humming along just nicely for the task i need it for..
This typically produces a moderate reduction in P/Invoke overhead.