窗口服务和桌面应用程序之间的通信 [英] Communication between windows service and desktop app
本文介绍了窗口服务和桌面应用程序之间的通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建一个Windows服务,并在Windows 7
桌面应用程序之间的通信,我读了命名管道是两个进程之间的通信方式之一。我可以把他们对我的目的是什么?
I want to create a communication between a windows service and a desktop application on Windows 7. I read that named pipes are one way for communication between two processes. Can i use them for my purpose?
推荐答案
确保您可以使用命名管道,WCF许多其他IPC方法。
sure you can use named pipes, WCF many other IPC methods.
有关堆栈溢出的问题之一命名管道的例子,看到这里还有一些backgound:
for named pipe example among stack overflow questions, see here as well for some backgound:
还要检查这个: GUI和窗口服务的通信
这篇关于窗口服务和桌面应用程序之间的通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文