Re: [Ikvm-developers] 7-zip-jbinding, with ikvm.exe, for C# / .NET
Brought to you by:
jfrijters
|
From: Elfen <pem...@gm...> - 2010-03-01 23:10:36
|
Btw, the 7-zip-jbinding author has attempted a patch for this (see http://sourceforge.net/projects/sevenzipjbind/forums/forum/757965/topic/3563492/index/page/1), which I will try soon. Another thing to mention is that the 2nd jar file is really just a zip of the 6 native dll's (x86 & x64 for Windows, Mac OS X, Linux). On Sun, Feb 28, 2010 at 6:54 PM, Elfen <pem...@gm...> wrote: > Jeroen, thank you for the reply, > > Do you plan to include support for this CallIntMethod returns long JNI > usage (or whatever it is), in a binary release in the near future? Or, will > it be up to 7-zip-jbinding to get updated to work with ikvm.net? > > Sounds like if I want to avoid modifying source code for ikvm.net and > 7-zip-jbinding, then I will have to pray for the fix from ikvm.net and/or > 7-zip-jbinding O:-) > > thank you > > > On Sun, Feb 28, 2010 at 7:43 AM, Jeroen Frijters <je...@su...>wrote: > >> Hi, >> >> As Volker said, you should combine both jars (I used "ikvmc -out:7zip.dll >> *.jar"), but doing that still doesn't result in something that works. On x64 >> I get a stack overflow (I didn't look into this) and on x86 it failed >> because sevenzipjbind uses JNI in a way that isn't supported by IKVM (and >> what I believe to be in violation of the spec). They use CallIntMethod to >> call a method [1] that returns a long. After I added a workaround for that >> to IKVM (just for testing this), your sample worked (i.e. I could print the >> number of entries in a RAR). >> >> Regards, >> Jeroen >> >> [1] long net.sf.sevenzipjbinding.impl.RandomAccessFileInStream.seek(long, >> int) >> >> > -----Original Message----- >> > From: Elfen [mailto:pem...@gm...] >> > Sent: Sunday, February 28, 2010 11:55 AM >> > To: ikv...@li... >> > Subject: [Ikvm-developers] 7-zip-jbinding, with ikvm.exe, for C# / .NET >> > >> > I compiled 7-zip-binding's sevenzipjbinding.jar and sevenzipjbinding- >> > AllPlatforms.jar, using ikvmc.exe. However, I got run-time errors when >> > I tried to use these dll's in a C# application. Any leads on what I'm >> > missing? >> > >> > More info is here: >> > http://sourceforge.net/projects/sevenzipjbind/forums/forum/757965/topic >> > /3563492/index/page/1 >> > >> > thank you for any leads / ideas >> > >> >> > |