A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
NewStringUTF() stripps long string from C to Java
Mani Venkata Kanth
Joined: Aug 21, 2006
Aug 19, 2011 06:50:35
I am new to JNI & reverse JNI.
I have prepared a long
which is of more than 10 thousand characters. I wanted to set this to the Java string. I am using below code snippet.
jstring temp2 = env->NewStringUTF(temp);
And I am setting this temp2 value to
variable using reverse JNI.
The string i get in Java is only the some part of the string. Hence, missing the complete string.
Please help me out...
Thanks in advance.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: NewStringUTF() stripps long string from C to Java
Swing GUI crashes (using JNI)
Reverse an array in java
how to convert static String return into JNI
Undefined Reference Trying to invoke Java from C++
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014