[Mono-list] interop with native C DLL on MAC OS X
Gigi Sayfan
gsayfan at numenta.com
Wed Feb 17 15:02:04 EST 2010
Thanks, Gonzalo. This did the trick:
export MONO_LOG_LEVEL="debug"
export MONO_LOG_MASK="dll"
I was able to see exactly what mono is trying to do and it turned out that when looking for a native DLL from within a non-executable assembly (a DLL) the native DLL should have NO extension (regardless of the config file).
Actually, this debugging tip is in the page : http://www.mono-project.com/Interop_with_Native_Libraries but it is way down there in a separate trobleshooting section and not in the section that talks about "Library Handling". Anyway, it looks like the documentation is not exactly accurate.
Thanks, Gigi
More information about the Mono-list
mailing list