• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNI......String Array???

 
Pomchi Bedi
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How can I return a String array from C(native) to Java code?I don't want to pass any argument to the native function.I have a string array in my C code and I want to use that string array in my java code.
Thanks
Pomchi
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't done much with much JNI ('cause compiling is not how I want to spend my life), but I found a tutorial for you that has an example that shows what you're interested in:
JNI How-To
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic