> >>> Isn't that the wrong way?  Doesn't the C++ proggie need to start a JVM
> >>> for the java code to run in?  I am familiar with the other direction,
> >>> Java code using JNI to run C stuff, but not the reverse...

yes, you'll need a jvm - see for instance :

Embed Java VM in Executables using Java Native Interface (JNI)
http://www.codeguru.com/misc/InvokeJVM.shtml

Afterwards, JNI can be used to access java classes and members - but as this is a 
relatively heavy concept, one may want to use a
"marshalling" utility that simplifies the process, jnipp as proposed by Anthony, or 
also Jace (http://jace.reyelts.com/jace), wich
seems quite cool also. Java objects are then wrapped by C++ ones, and there you go...

CloD




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to