aspose file tools*
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
Author

JNI problem

jrmchen
Greenhorn

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
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"jmchen",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . 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.
Thanks.


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

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)".
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JNI problem