[Mono-dev] mono and unmanaged code

Jonathan Pryor jonpryor at vt.edu
Fri Mar 28 12:51:23 UTC 2014

On Mar 19, 2014, at 12:33 AM, Greg <gregorymorse07 at gmail.com> wrote:
> I believe the calls are failing because the unamanged dll has not been compiled in the native environment.  Is this true, or should mono be able to handle unmanaged dlls that were compiled in Windows?

Mono does not support unmanaged shared libraries (.dll files).

If possible, you should port your unmanaged code to linux and build it into a .so.

If that isn’t possible, you should look into using Wine. Mono should run atop Wine (last I heard…), so this may be a viable solution for you.

 - Jon

More information about the Mono-devel-list mailing list