This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNI - windows DLL

 
Paul Richards
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic