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.
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