The Artima Developer Community
Sponsored Link

Java Answers Forum
JNI Calling Signature Problem. Please Help me out

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Deepak Singh

Posts: 1
Nickname: deepak7819
Registered: Jan, 2006

JNI Calling Signature Problem. Please Help me out Posted: Jan 30, 2006 8:44 PM
Reply to this message Reply
Advertisement
<p>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 <b>(especially **pVoiceParameter)</b>. </p>

<font = 2><pre>
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);

};</pre></font>


<p>Thanks in advance</p>

<br>Regards</br>
<br>Deepak</br>

Topic: StackOverflowError, But Why? Previous Topic   Next Topic Topic: Programming problem

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use