aspose 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
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
 
Don't get me started about those stupid light bulbs.
 
subject: A JNI question