M
matteo.dt
I know this totally disrupts portability, but I'm in a dire need to
communicate with a Win mfc application.
i have a swing java program with a Timer thread. In this thread I need
to set tasks and to retrieve parameters to a Windows mfc application
every time the Timer activates. I could implement a jni dll that
manages the communication with the Win application. 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?
Thank you very much,
Matteo
communicate with a Win mfc application.
i have a swing java program with a Timer thread. In this thread I need
to set tasks and to retrieve parameters to a Windows mfc application
every time the Timer activates. I could implement a jni dll that
manages the communication with the Win application. 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?
Thank you very much,
Matteo