.net pinvoke c# - P/Invoke in Mono

1 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.


P/Invoke in Mono

dllmap int marshaling

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