本文介绍了SendMessage从NT服务到远程桌面会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何发送sendmessage&从nt服务到在远程桌面会话中启动的应用程序的邮件消息?目前,我通过应用程序之间的udp通信临时解决了这个问题。

How can i send a sendmessage & postmessage from nt service to an application which launched in a remote desktop session? currently i temporarily solved this problem via udp communications between applications.

推荐答案

不能在会话边界发送消息。因此,您需要一个IPC解决方案,如TCP / IP,套接字,命名管道等。

You cannot send messages across session boundaries. So you need an IPC solution like TCP/IP, sockets, named pipes etc.

这篇关于SendMessage从NT服务到远程桌面会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-09 21:59