On Wed, 2009-03-25 at 17:47 +0100, Robert Bielik wrote: > I'm trying to call a function with prototype: ... > Tried to retrieve the MonoClass* for System.Collections.Generic.List via > mono_class_from_name(mono_get_corlib(), "System.Collection.Generic", "List") > but it > returns NULL.
Try using "List`1" for the name instead of "List". Generic types have the number of type parameters encoded within their name (to permit "overloading" a type based on the number of type parameters), so you can't omit the `N from the type's name. - Jon _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
