Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Passing char array from C++ to Java

843829Jul 28 2010 — edited Aug 3 2010
I pass the java function a char array from c++ and when I attempt to print the char array, it won't print. Any ideas why? It would be much easier to pass it another parameter but its a requirement that it passes a char array. The char array is populated with a long converted into ints and stored as chars. Here is my java method declaration:
public void Attach(char subscribers_address[])
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 31 2010
Added on Jul 28 2010
4 comments
627 views