Click to See Complete Forum and Search --> : JNI integration in .NET


petru66
July 10th, 2002, 02:11 AM
I was trying to create a managed C++ DLL to interface JNI calls with C#. Some invocations of JNI functions went well; that is, JNI__CreateJavaVM, FindClass, AllocateObject. However, any method (in the managed C++ code) that uses a variable of type jmethodID raises and exception of type TypeLoadException.

I would appreciate any help in this matter.