• Post Reply Bookmark Topic Watch Topic
  • New Topic

Accessing a windows dll from java, JNI ?  RSS feed

 
ing erl
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

Being puzzled.
I am not quite sure to handle my problem, not knowing where to start.
I have a dll written in C or C++, a speech engine from a third party, that I want to access from Java.
How do I access those C functions from my Java code, will I have to
write som kind of 'adapter' using JNI as some kind of middle-layer.
Are there any godod articles on the subject besides the Tutorial on the java.sun.com site ? or books ?

Using Netbeans for coding at the moment, is there any kind ( if there is use for that) of plug-in regarding problems as this ?
Could switch to any other kind of tool here, if it helps me.

regards, i
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

There are some packages that take the pain out of using JNI to communicate with a DLL. If you have a COM object, take a look at the JACOB and JCOM projects.
[ January 27, 2006: Message edited by: Ulf Dittmer ]
 
ing erl
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply!
Start looking there!

regards, i
http://pay-and-play.org/
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!