JNI invocation api: get method id for method with multiple parameters ...

Posted by Xinus on Stack Overflow See other posts from Stack Overflow or by Xinus
Published on 2010-05-16T15:58:11Z Indexed on 2010/05/16 16:10 UTC
Read the original article Hit count: 257

Filed under:
|

I want to call java function from c++ which takes multiple parameters , I have tried following statement

mid=env->GetMethodID(JDeployerClass,"deploy","(Ljava/io/File;,Lorg/glassfish/api/deployment/DeployCommandParameters;)Ljava/lang/String;");

But its not working out, is there anything wrong with above statement?, What is the correct way to get method id which accepts multiple parameters ?

© Stack Overflow or respective owner

Related posts about jni

Related posts about invocation-api