Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
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
It's not a secret anymore!