[Mono-devel-list] Global dllmap entries?

John Luke john.luke at gmail.com
Fri Apr 8 20:57:14 EDT 2005


On Fri, 2005-04-08 at 13:47 -0400, Miguel de Icaza wrote:
> Hello,
> 
>     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:
/etc/mono/config
/etc/mono/config.d/gtk-sharp.config
/etc/mono/config.d/3rdpartystuff.config
etc.





More information about the Mono-devel-list mailing list