Signed Applet - JNI problem

hi all

i have written one Signed applet which is making some JNI calls. Everything is going fine and I am able to make calls. But problem comes when i am trying to call my java class methods from c++ jni methods.

I am calling static method using:

jmethodID mid = g_pEnv->GetStaticMethodID (cls,"onCallback","(ILjava/lang/String;)V");

and it returns mid = 0;

Can anybody help me?

Thanks in advance.

Ashish

[508 byte] By [@shishGa] at [2007-10-2 1:57:48]
# 1
I do not know how it goes with Applet but in WebStart I pack native DLL to JAR. And this JAR is signed. When the application starts for the first time WebStart loads this JAR and unpacks DLL to Cache.
vitallisa at 2007-7-15 19:38:55 > top of Java-index,Security,Signed Applets...