• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JNI - windows DLL

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic