Hi!
I´m newbie in C++ Code and JNI, so i have a big problem and i can´t found a solution.
My question is: Is possible to call a Jni method in a normal ,method, so:
I have in my c++ class, two method:
void CVentanasDlg::OnButtonStart(){
printf("OnButtonStart");
}
JNIEXPORT void JNICALL Java_JniComm_openDevice(JNIEnv *env, jobject obj){
m_DeviceID = StartUp( GetConsoleHwnd2(), WM_VX);
}
Can i call from the method OnButtonStart to the jni method openDevice? if the response is yes, what are the arguments that i need to send to the second function?
Thanks!