File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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:
Some FAQ:

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: JNI - windows DLL
Similar Threads
Using JNI dll from Java
ActiveX to Java
How do you unload a dll in Java?
Calling .dll files methods in Java Code