当我在VOCE c ++中使用JNI类时,在程序调用FindClass()时得到一个未处理的异常

时间:2014-07-15 18:09:05

标签: c++ voice-recognition

我想运行程序VOCE,这是一个语音识别库。程序运行时使用如下代码:

// Find the main Voce class by name.
jclass c = internal::gEnv->FindClass(internal::gClassName.c_str());

它给我错误:

 Unhandled exception at 0x00af1c10 in SpeechReco.exe: 0xC0000005: Access violation reading location 0x00000000.

所以我进入代码:

 jclass FindClass(const char *name) {
    return functions->FindClass(this, name);
}

名称是“voce / interface”,这里抛出异常。

有人知道这个错误以及如何调试它吗?

0 个答案:

没有答案
相关问题