aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JNI - windows  DLL" Watch "JNI - windows  DLL" New topic
Author

JNI - windows DLL

Paul Richards
Greenhorn

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"
Sheriff

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JNI - windows DLL
 
Similar Threads
JNI
How do you unload a dll in Java?
Calling .dll files methods in Java Code
Using JNI dll from Java
ActiveX to Java