wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes JNI - windows  DLL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JNI - windows  DLL" Watch "JNI - windows  DLL" New topic

JNI - windows DLL

Paul Richards

Joined: Jul 25, 2001
Posts: 19
Hi folks
I am required to call a windows DLL called "C:/WINNT/system32/pcpv232.dll". This dll has several functions such as GETAddress which require parameters and obvuiously return data that my Java Program will then use.
Is this possible? I have read that using JNI may help.
Could anyone point me in the right direction?
cheers in advance
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
JNI is intended to allow you to interface your java code with code written in other languages. It allow you to call that native code. Most windows stuff is written in C++ or in Visual Basic.
An overview of JNI: http://java.sun.com/docs/books/tutorial/native1.1/concepts/index.html
Some FAQ: http://java.sun.com/products/jdk/faq/jnifaq.html

"JavaRanch, where the deer and the Certified play" - David O'Meara
jQuery in Action, 2nd edition
subject: JNI - windows DLL
Similar Threads
How do you unload a dll in Java?
ActiveX to Java
Using JNI dll from Java
Calling .dll files methods in Java Code