File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

A JNI question

Abdullah Javid

Joined: Jan 06, 2002
Posts: 12
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.
Mapraputa Is
Leverager of our synergies

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:
I agree. Here's the link:
subject: A JNI question
It's not a secret anymore!