[.net] P/Invoke in Mono


Answers

Using a freepascal library (.dylib) from mono

I have not worked with monotouch, but Mono/.NET have a feature called P/Invoke (platform invoke).

Basically you declare your functions/procedures as extern in the managed code and add a DLLImport attribute.

In contrast to its name DLLImport imports functions/procedures from .so files on Linux and .dylib files as well.

http://www.mono-project.com/Interop_with_Native_Libraries

P/Invoke in Mono

Question

What's the current status of Mono's Platform Invoke implementation on Linux? And on Solaris?