Java method, with two args, callback from c/c++!_NEWLINE_!URRGEENNNTTT!!!!
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alireza_Der
Posted On:   Sunday, December 1, 2002 04:28 AM

			

Hi got a problem....

Trying to call java method from c++. The code is like this:
				
private some method(int i, int j){

do something

}

and in c++:
..
				
jmethodID mid = env->GetMethodID(cls, "change","(I,I)V");
..
env->CallVoidMethod(obj, mid, newI ,newJ);



What is wrong wiht calling a Java method with two input var. Please Help...

Thanks

Re: Java method, with two args, callback from c/c++!_NEWLINE_!URRGEENNNTTT!!!!

Posted By:   Gautam_Marwaha  
Posted On:   Sunday, December 1, 2002 09:08 PM

method should not be private (?)
About | Sitemap | Contact