File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes JNI problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JNI problem" Watch "JNI problem" New topic

JNI problem


Joined: Mar 26, 2001
Posts: 5
I am now using JNI to call C from Java . But some functions
need to get Structure pointer or more than one pointer value.
Can any one tell me how I can transmit pointer especially Structure Pointer to those C functions ?
I tend to tranmit a class , but failed.
Can Java function get a class as a parameter?
Thanks a lot !
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
Please don't post the same message to more than one forum. You obviously expect to read more than one forum - so do the people who might answer your question. This thread is now closed, all replies to the one in "Java in General (advanced)".
I agree. Here's the link:
subject: JNI problem
It's not a secret anymore!