[Mono-list] dynamic loading ofan unmanaged library

Chris Howie cdhowie at gmail.com
Mon Oct 27 12:03:07 EDT 2008


On Mon, Oct 27, 2008 at 12:00 PM, Mathias Tausig <mtausig at fsmat.at> wrote:
> 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.

Ah, in that case you could use System.Reflection.Emit to emit a class
with the appropriate methods.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


More information about the Mono-list mailing list