This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Yes; do a google search for JNI (Java Native Interface). It allows Java to call C/C++ code, and (for your purposes) it allows C/C++ code to call Java.
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
Joined: Jan 11, 2005
Originally posted by Joel McNary: Yes; do a google search for JNI (Java Native Interface). It allows Java to call C/C++ code, and (for your purposes) it allows C/C++ code to call Java.
I only know we can use JNI to invoke native libraries from Java and I have never used JNI to invoke Java libraries from native applications (C/C++ programs). I am going to look through JNI as you recommended.
Another question, do you know how JNI is implemented internally by JVM?
regards, George [ April 04, 2005: Message edited by: George Lin ]