Pavel
> --
> You received this message because you are subscribed to jni...@googlegroups.com
> http://groups.google.com/group/jni4net?hl=en-GB?hl=en-GB
> http://jni4net.sf.net/
>
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the
requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
any help
Thanks in advance.
Ramesh.
--
Hello Pavel,
Hi i am getting the follwing error when i try to call .net dll from
java
I am New to vb.net and i want to use existing vb.net code in to my java application for that i choose your jni4net and i am using windows 32 bit operating system.
step 1 : created a library project in vb.net
step 2 : created a dll for that project
step 3 : downloaded the jni4net-0.8.8.0-bin.zip
step 4 : follow the steps https://github.com/jni4net/jni4net/wiki/
step 5 : created a java project in eclipse and try to execute but i am facing following exception.loading core from D:/Rajesh/JNI4NET/jni4net.n-0.8.8.0.dll
loading jni4net.n-0.8.8.0, Version=0.8.8.0, Culture=neutral, PublicKeyToken=134a23405600bab4 from D:\Rajesh\JNI4NET\jni4net.n-0.8.8.0.dll
loaded jni4net.n-0.8.8.0, Version=0.8.8.0, Culture=neutral, PublicKeyToken=134a23405600bab4 from D:\Rajesh\JNI4NET\jni4net.n-0.8.8.0.dll
Initialized jni4net core
core loaded from D:/Rajesh/JNI4NET/jni4net.n-0.8.8.0.dll
clr.version :v4.0.30319
clr.arch :32bit
java.home :C:\Program Files\Java\jre1.8.0_60
java.version :1.8.0_60
sun.arch.data.model :32
loading SimpleDll.j4n, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null from C:\BhushanProg\SabreWork\Jni4Net\SimpleDll.j4n.dll
loaded SimpleDll.j4n, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null from C:\BhushanProg\SabreWork\Jni4Net\SimpleDll.j4n.dll
Exception in thread "main" java.lang.UnsatisfiedLinkError: simpledll.Sample.__ctorSample0(Lnet/sf/jni4net/inj/IClrProxy;)V
at simpledll.Sample.__ctorSample0(Native Method)
at simpledll.Sample.(Sample.java:25)
at Jni4NetTest.main(Jni4NetTest.java:22)
Now able to execute my eclipse application followed by this video link.
https://www.youtube.com/watch?v=tI0tFUjeffA (Using Jni4Net) from 25:14 mins onwards.
Thanks&Regrads,
P Rajesh Kumar