> I would like to know how to access windows functions through Java, > that is, how could I access a windows dll?
one possibility would be, to use the JNI (Java Native Interface). see the JDK-API for more information about JNI but: it's not a trivial task, i can tell you!
good luck and greetings -- ________________________________________________________________ Sven Schwarz Tel. : +49 (631) 205 3451 Email : schw...@dfki.uni-kl.de WWW : http://www.dfki.uni-kl.de/~schwarz/ ________________________________________________________________
Sven Schwarz wrote: > "Zenon Farias Braga F." wrote:
> > I would like to know how to access windows functions through Java, > > that is, how could I access a windows dll?
> one possibility would be, to use the JNI (Java Native Interface). > see the JDK-API for more information about JNI > but: it's not a trivial task, i can tell you!
> good luck and greetings > -- > ________________________________________________________________ > Sven Schwarz Tel. : +49 (631) 205 3451 > Email : schw...@dfki.uni-kl.de > WWW : http://www.dfki.uni-kl.de/~schwarz/ > ________________________________________________________________
You'll need wrappers around the dll calls in order to use it wih JNI, since you probably dont have the source for the dll. -- IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France Tél: +33 (0) 2 99 84 71 00, Fax: +33 (0) 2 99 84 71 71