This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes JNI or JNA to call C#.NET methods Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "JNI or JNA to call C#.NET methods" Watch "JNI or JNA to call C#.NET methods" New topic
Author

JNI or JNA to call C#.NET methods

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 8795

Guys,

I have a dll created out of a C#.NET project and I would like to call the methods from a java program. I was wondering as to what sort of opportunities exist to accomplish this and then I came across JNA and JNI. Which one should I use for my purpose? Any suggestions? All I need is to call the methods in a class written using C#.NET and process the results from my Java program.


SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JNI or JNA to call C#.NET methods
 
Similar Threads
Java GUI calling C++ dll and shared lib
Java API for hardware interaction
Get File Version
Screen Cap on Mouse Click Anywhere
printer not calling through this program..