[Mono-devel-list] Global dllmap entries?
Miguel de Icaza
miguel at novell.com
Fri Apr 8 22:46:05 EDT 2005
> > I would like to have a `global-dllmap' entry on our .config files so
> > that it is possible to register standard mappings by libraries. Today
> > we have something like that in the form of $mono/etc/mono/config, but
> > there is no way for a binding library to provide these.
> > The issue at hand is that gtk-sharp ships with a config file that
> > maps the libgtk-win32-etc.dll name to the proper name on the underlying
> > OS. And I would like third party apps to be able to consume this
> > binding as opposed to introducing the logic on every application that
> > needs to bind an API from Gtk+ that might not be bound.
> I would think something like $mono/etc/mono/config.d/ directory where
> apps could add mappings should work for that. At least it seems the most
> common way that I've seen it done.
> For example:
I was thinking more along the lines of having an extra <global-dllmap>
entry on the existing .config file of the assembly that has already been
loaded as opposed to triggering a bunch of files from being loaded.
Miguel de Icaza <miguel at novell.com>
More information about the Mono-devel-list