Hello Java Guroos
How do I access windows API using java applet to connect to a remote windows machine and start/stop windows services...
Use JINI?.. and what else?
Thank You
-
Access Windows API using Java (1 messages)
- Posted by: Arush Verdan
- Posted on: April 26 2004 14:24 EDT
Threaded Messages (1)
- Access Windows API using Java by Sanjaya Ganesh on April 26 2004 23:26 EDT
-
Access Windows API using Java[ Go to top ]
- Posted by: Sanjaya Ganesh
- Posted on: April 26 2004 23:26 EDT
- in response to Arush Verdan
(1) You can write a Java class containing native methods that follow the
JNI convention. From those methods you can call any existing functions
you like.
(2) you can purchase a commercial library that provides the wrappers for
you, already made, debugged, and tested. One example is xFunction (
http://www.excelsior-usa.com/xfunction.html ), but there are several others.
(3) you can find a free implementation, such as SWIG ( http://www.swig.org
and especially http://www.swig.org/Doc1.3/Java.html#n2 ).
(4)JNIWrapper (http://www.jniwrapper.com). You may even find that Windows API functions that you need are already wrapped inside WinPack (a free addition to JNIWrapper)
-Sanjay