Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

:( JNI Calling Signature Problem. Please Help me out

Hello, Basically I am C++ person and newbie to Java. I 'm have a dll in C++ and now I want to link through JNI.Can you guide me how should I go for signature for method registration() and authenticate() in Java (especially **pVoiceParameter).

class CVoiceInterfaceInvoker
{
private:

float badVoiceprintDistance; // = 15;
public:
CVoiceInterface();
~CVoiceInterface();
//pWaveBuffer1,pWaveBuffer2, pWaveBuffer3 - input parameter.
//pVoicePrint - output paramter.
bool registration( short * pWaveBuffer1, short * pWaveBuffer2, short * pWaveBuffer3, CVoicePrint ** pVoicePrint );
// pWaveBuffer,pVoicePrint -input paramter
bool authenticate( short * pWaveBuffer, CVoicePrint * pVoicePrint);

};
[808 byte] By [deepak7819] at [2007-11-11 7:53:13]