A Java and C++ program - communicate!
Posted on 2002-05-28
The situation is something like this:
I have two processes running on my system. One of them is written in Java and one in C++. I need these two to be able to communicate. The code I write should be as platform independent as possible as finally I will need versions of these processes for both Unix and Windows.
Basically, the C++ program has to get the "state" of one of my objects from the Java program. So, in some sense I should be able to get the return value of "obj.getState()" (which returns a string) in the C++ program.
Any pointers will be greatly appreciated!
Thanks a tonne,