|
Re: How can RCP program receive a message from other process [message #523774 is a reply to message #523722] |
Mon, 29 March 2010 04:52 |
Eclipse User |
|
|
|
Originally posted by: kai.edinger.drexler-software.de
Am 29.03.2010 04:06, schrieb Duo:
> When an RCP program is running, I use FindWindow function to get the
> handle of the program in C++ code, and then I use PostMessage to post an
> user defined message to the handle, how can the RCP program receive it?
> I try display.addListener(...), but it didn't work.
As far as I know this is not posible because SWT is platoform
independent. Use a mittlware like CORBA, WebService, (XML-)RCP, etc.
Kai
|
|
|
Re: How can RCP program receive a message from other process [message #523782 is a reply to message #523774] |
Mon, 29 March 2010 09:58 |
Eclipse User |
|
|
|
Originally posted by: kai.edinger.drexler-software.de
Am 29.03.2010 11:44, schrieb Kai Edinger:
> Am 29.03.2010 04:06, schrieb Duo:
>> When an RCP program is running, I use FindWindow function to get the
>> handle of the program in C++ code, and then I use PostMessage to post an
>> user defined message to the handle, how can the RCP program receive it?
>> I try display.addListener(...), but it didn't work.
>
> As far as I know this is not posible because SWT is platoform
> independent. Use a mittlware like CORBA, WebService, (XML-)RCP, etc.
>
> Kai
Oh, something I have forgotten: If you only use Windows you can also use
OLE.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03810 seconds