Hi there,
I have to write a native executable, that first starts my java program and then continously transfers it all input recived from stdin and writes output from the Java program to stdout. Can anyone please show me how to do this (platform-independently) with VisualC++ or gcc?
Ideally there would be two methods in the Java code, one for writing a String and one to accept a String. I’m a complete Newbie in C/C++ and JNI. Are there any pitfalls?
Thanks a lot!