The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
October 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

JNI

Posted by david on October 30, 2000 at 2:09 PM

> I am making a project in which I need to call Visual C++ applications in Java applet.I am trying to do it through Java Native Interface(JNI) and using a servlet to call the visual C++ applications at the server-side.But all the examples I see of JNI is of C or C++.Please tell me some site or some example code where I can find example of Visual C++ and JNI.I do'nt understand what code I need to write in the servlet that it calls the visual C++ applications.Please help.
> Thanks
> Nageen


As far as I know you can only use JNI to call into C code. You can a write a C wrapper around your VC++ code and call into that.




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us