File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes A JNI question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

A JNI question

Abdullah Javid
Greenhorn

Joined: Jan 06, 2002
Posts: 12
Hello.
This is Abdullah. I have been programming in Java for an year but I have not used Java JNI API uptill now. Now I need to call some Windows API(native) from withing Java code. Someone please tell me how can I do this. I think this could be done with JNI. I tried to make my hands dirty with JNI but I think it could only call methods from C/C++ classes which we have written. Will anybody please tell me how to call Windows APIs which Microsoft has implemented using Visual C++(or C++). Thanks in advance. I am humbly looking for your replies.
Sincerely,
Abdullah.
Mapraputa Is
Leverager of our synergies
Sheriff

Joined: Aug 26, 2000
Posts: 10065
Please, do not post the same question in several forums, people will waste time answering question that was already answered.
I am closing this thread and redirect everybody interested here:
http://www.coderanch.com/t/271331/java/java/JNI
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: A JNI question
 
Similar Threads
what is JNI and what are the advantages of JNI?
Can I call Win32 API from within Java code?
Please anyone reply my questions
plz answer
A JNI question