Re: Where is cli.System.Object/IDisposable located?

Jeroen Frijters <[email protected]> Tue, 15 Dec 2015 19:12:48 +0000
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <[email protected]>
Hi Clemens,

ikvmstub only generates stubs for the types directly in the specified dll. You also need to generate stubs for any of libraries (assemblies) it references. The classes you mention are in mscorlib.dll. In the general case you'll need to use some .NET tool to figure out the dependencies (e.g. use ikdasm to disassemble the library and look at the .assembly extern directives at the top of the file.

Regards,
Jeroen
________________________________________
From: Clemens Eisserer <[email protected]>
Sent: Tuesday, December 15, 2015 6:20 PM
To: [email protected]
Subject: [Ikvm-developers] Where is cli.System.Object/IDisposable located?

Hello,

I would like to access an existing .net dll using java code, therefore
I used ikvmstub to generate the jar file containing the generated
interface file.
However, when I try to compile this code from NetBeans, it fails with:

> class file for cli.System.IDisposable not found
> class file for cli.System.Object not found

Indeed, the stub jar-file does not contain those classes.
Are they located in some support library?

Thank you in advance, Clemens

------------------------------------------------------------------------------
_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers

------------------------------------------------------------------------------