[Mono-dev] mono and unmanaged code

mickeyf mickey at thesweetoasis.com
Wed Mar 19 19:56:48 UTC 2014


Yes, you should compile your dll in the environment in which it will run, or
use a cross compiler targeted to that environment.

If you don't have the source I suspect you are out of luck. There is much
more to it than simply fiddling with the headers. You may be able to use
something like wine, but that's probably a lot more effort and overhead than
you were hoping for.

You might be best off by looking for a library that provides the same
functionality as the dll, but that runs on Linux. If you are running on a
particular (nonx86) platform, you may need to make sure there is a library
for that platform also (or source). Or if it's a reasonable undertaking,
write your own replacement for the dll.



--
View this message in context: http://mono.1490590.n4.nabble.com/mono-and-unmanaged-code-tp4662275p4662285.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list