Code for Inter-process communicate
There are some ways to reach the title issue:
- webservice
- Remoting
- ipc(obviously, it is one of Remoting)
- dataBase
- SendMessage(windows API)
- MSMQ(Microsoft Message Queuing)
For my Solution, I just wanna communicate between two separate applications (winform) in a machine. Also, both of the applications are using .net to develop. So I chose "ipc" and"SendMessage". I am not clear how about the MSMQ :)
As to Webservice , it is suit for multi-language, multi-platform
And Remoting is better used for network communicate in .net
The database just can share the data, but can't send message from one application to another.
posted on 2008-10-13 18:15 gyhanonline 阅读(313) 评论(0) 编辑 收藏 举报