• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to map C++ objects with Java Objects ?

 
ravinder pasula
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have C++ code as dll. Now, I want to use objects of C++ in Java.

Can anyone please let me know how to map C++ objects with Java Objects or use the C++ objects through some other means?



Thanks,
Ravinder.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JNI
 
Dom King
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NewJNI, the natural C++ interface to JNI. It's included free with NewJ for C++. There's full source code, samples, and wizards for Visual C++ 7.1 (VS .NET 2003). Ideally, you just want Java wrappers for your C++ objects. It's not that turnkey, but it's more C++ friendly than using JNI by itself.

http://www.pure-native.com/newj.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!