2 messages in net.java.dev.jna.users[jna-users] Problem getting new Strin...
FromSent OnAttachments
Muhammad NoorApr 13, 2009 4:49 am 
Timothy WallApr 13, 2009 5:30 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[jna-users] Problem getting new String value from native codeActions...
From:Muhammad Noor (muha@raseen.ae)
Date:Apr 13, 2009 4:49:18 am
List:net.java.dev.jna.users

Hi,

I have a method in C++ having prototype as follows:

extern "C" __declspec(dllexport) void ussdGetErrorString(int nErrorCode,char*pszErrorString)

In java i have defined above method as follows: ** *void* ussdGetErrorString (*int* nErrorCode, String pszErrorString);

*My Problem is that I am Unable to get New pszErrorString value in My Java Code after calling "ussdGetErrorString" method.*

Pls tell me where am I doing wrong.

Regards,

Noor.