Calling a C routine from .dll  
Author Message
Salvador Huertas





PostPosted: 2005-3-8 6:42:00 Top

java-programmer, Calling a C routine from .dll Hi friends,
I would like call a C routine from Java program that is into a .dll
library. I don't know if this is possible and if so, how can I do it.

Thanks in advance!
Salvador Huertas.


 
Lori M Olson [TeamB]





PostPosted: 2005-3-8 13:08:00 Top

java-programmer >> Calling a C routine from .dll Salvador Huertas wrote:

> Hi friends,
> I would like call a C routine from Java program that is into a .dll
> library. I don't know if this is possible and if so, how can I do it.
>
> Thanks in advance!
> Salvador Huertas.
>
>

You need to do some reading on JNI. Really, you should buy a good book
on the subject, but you can start here:

http://java.sun.com/docs/books/jni/

--

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html