[Mono-list] dynamic loading ofan unmanaged library

Mathias Tausig mtausig at fsmat.at
Mon Oct 27 12:00:09 EDT 2008

Am 25. Oct 2008 um 17:02:56 -0400, schrieb Chris Howie:
> On Thu, Oct 23, 2008 at 8:14 AM, Mathias Tausig <mtausig at fsmat.at> wrote:
> > I would like to load a library containing unmanaged code at runtime. Is there a consistent way to do this in mono/.NET that works on both linux and windows (e.g. without having to rely on the system functions like LoadLibrary and dlopen)?
> See <http://www.mono-project.com/Interop_with_Native_Libraries>.

Thanks Chris, but this article doesn't cover what I am looking for. If I import the library with DllImport, I have to state its name at compile-time not at runtime, as I want(need) to do.


More information about the Mono-list mailing list