Re: Coomunication between applications
From: Brian Cook (bcook_at_rowdydogsoftware[REMOVE)
Date: 10/24/03
- Next message: Jeffrey A. Wormsley: "Re: Changing access privileges for CSIDL_COMMON_APPDATA"
- Previous message: Ignacio Vazquez: "Re: Integer ANDing"
- In reply to: Jens Munk: "Re: Coomunication between applications"
- Next in thread: Jens Munk: "Re: Coomunication between applications"
- Reply: Jens Munk: "Re: Coomunication between applications"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 24 Oct 2003 10:35:30 -0500
> I have now got the code straightened out so the messages sent from the
> client(s) to the host are sent specifically to the hosts window handle
> whereas the relatively few "event" messages sent from the host to the
> client(s) are still broadcasted of convenience. And guess what: FULL SPEED
> achieved!
Excellent!
> Two more things could be done. Maintain a list of client handles and then
> fire the events specifically to these handles.
Or, have the clients include their window handle in the request...
SendMessage( ServerWindowHandle, MessageID, 0,
{-->} MyWindowHandle {<--} );
...the server now knows exactly who sent the request and can respond
directly when the server finishes.
> Also, since my host events do
> not get a return value I could use WM_COPYDATA here instead of shared
> memory. Probably not faster but nicer and simpler.
Word of warning about WM_COPYDATA: do NOT broadcast this message. A few
Microsoft applications (including explorer) will sometimes crash when
they recieve an unexpected WM_COPYDATA message.
I hope you have a good weekend,
Brian
- Next message: Jeffrey A. Wormsley: "Re: Changing access privileges for CSIDL_COMMON_APPDATA"
- Previous message: Ignacio Vazquez: "Re: Integer ANDing"
- In reply to: Jens Munk: "Re: Coomunication between applications"
- Next in thread: Jens Munk: "Re: Coomunication between applications"
- Reply: Jens Munk: "Re: Coomunication between applications"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|