Search code examples
windowsdelphiwindows-server-2008windows-server-2003

Sendmessage from NT Service to remote desktop session


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.


Solution

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