• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How doI access a C++ Dll from a Java Client

 
shobha
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to know how to access a C++ DLL from Java?.
Shobha
 
Tiger Scott
Ranch Hand
Posts: 223
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to use JNI. Check out the JNI on the Sun site.
HTH
[ January 23, 2002: Message edited by: Sanjay Bahal ]
 
Nehal Vaidya
Greenhorn
Posts: 14
Java jQuery Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wrap the dll in a C++ program and then make JNI calls to it from java.
You could also check out jintegra http://www.linar.com
Jintegra writes the JNI code for you.
Good Luck!
-Nehal
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This goes in the Java Beginner forum. I'm moving it there...
Kyle
 
shobha
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thanks for the immediate response.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
shobha,
Please change your name to be compliant with JavaRanch's naming policy.
Your displayed name should be 2 separate names with more than 1 letter each. We really want this to be a professional forum and would prefer that you use your REAL name.
Thanks,
Cindy
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic