Re: [Ikvm-developers] Dynamic loading woes (again)
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2007-02-10 06:07:58
|
Michael Kay wrote: > Is there any way to discover and use the ClassLoader > associated with an assembly? Only indirectly. If you have a Type from the assembly you can use: ikvm.runtime.Util.getFriendlyClassFromType(type).getClassLoader() You can use the resulting ClassLoader to load types and resources from the = assembly (and the assemblies it references). You can check what assembly a = ClassLoader is associated with by calling toString on it, that will return = the assembly name. Regards, Jeroen |