[Mono-devel-list] Global dllmap entries?
bmaurer at ximian.com
Fri Apr 8 23:19:20 EDT 2005
On Fri, 2005-04-08 at 20:57 -0400, John Luke wrote:
> 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:
So would this override/add to machine.config? I think something like
that would be a good idea. Mike Kestner was talking with me about
possibly doing a global redirect of gtk# 1 to the gtk# 2 dlls. I
mentioned that it would be a PITA to munge the machine.config file. This
would be a nice way to work around that and similar problems.
More information about the Mono-devel-list