[Mono-devel-list] The first (attempt to checkin) managed collation patch

Miguel de Icaza miguel at ximian.com
Sun Jul 24 12:22:33 EDT 2005


> > It can be done in two ways: embed the files in the mono binary like we do
> > with the char tables or load the files from where mscorlib was loaded.
> > Both are trivial to implement.
> For now I took the latter approach. That means however we need some
> love on the build system.

I personally like the idea of having this data on the dll files
themselves more, you can embed the resources with -resource and then get
the same IntPtr without adding a new icall like this:

int size;
Module module;
IntPtr data = GetManifestResourceInternal (name, out size, out module);

We reuse the existing framework, do not require build system love and do
not have to introduce a new icall.

More information about the Mono-devel-list mailing list