Reputation: 11918
Is there any better way to load and use functions from a DLL file in .NET (C#) than by using so-called P/Invoke?
If the DLL file contains functions that were written using JNI is there still a way to use them in .NET?
Upvotes: 1
Views: 99
Reputation: 613053
For native DLLs your options are P/invoke or COM. The latter is easier once you have got over the not insignificant hurdle of making a COM server.
Upvotes: 2