I need a simple Example of JNA which can map char * of c dll.

Posted by Vikas Sharma on Stack Overflow See other posts from Stack Overflow or by Vikas Sharma
Published on 2009-08-03T07:08:53Z Indexed on 2010/06/10 15:12 UTC
Read the original article Hit count: 334

Filed under:
|

I have one dll of cpp and i need to call its function which returns char*. Im using String in native Declaration but getting out put like ???? or some crap thing. I just want to knw that do i have to decode the String.i have already set my system property like System.setProperty("jna.encoding","UTF-8"); Im in big mess. Hope to get Some Positive replies from u guys. Thanks in Advance.. Cheers...!

© Stack Overflow or respective owner

Related posts about vc++

Related posts about jna