I don't know why this sort of thing is so difficult in java but there must be an easy way of doing this. Well I hope there is.
I wanted originally to communicate with my non Java program via DLL's but didn't get very far. Seems you have to resort to JNI which basically open a can of new worms. I gave up on that.
PostMessage seems to have the same problems.
I'm not too sure about sockets or shared memory.
Has anyone successfully done this sort of thing? Could you please tell me what methods you used? Any code snippets would be gratefully received!
At present all I'm left with is writing to files which is incredibly ineffecient.
Thanks