Re: Communicating with a Windows mfc application



On 31 Mar 2006 02:12:33 -0800, matteo.dt@xxxxxxxxx wrote, quoted or
indirectly quoted someone who said :

For now i've tried
with RegisterWindowMessage, SendMessage and GetMessage sdk functions
but, as these are based on windows handlers, nothing works.
I don't like to exchange messages using a text file, is there any other
way?

You use JNI to talk to some C that does what you need.
see http://mindprod.com/jgloss/jni.html

You run your Windows app in a separate address space and talk to it
with sockets.

You share a database that you each poll.

You share a flat file.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.