WTS - WTSSendMessage()

Posted on 2006-03-23
Last Modified: 2008-01-09
Hi all

I'm using WTSSendMessage() to post messages around on WTS, from client to client app running on a server. Does any one know how I can "catch" this message (so that I can read and save the message text) before/as it pops up on each app?
I'd like to be able to store the messages that each app receives in a log file.

Question by:AntonHx
    1 Comment
    LVL 28

    Accepted Solution

    are you by any chance talking about this function: ? because if so, I really don't see how you can catch a message sent in order to display a messagebox.
    however, if you are trying to communicate between applications in different sessions, then using virtual channels might be an idea. check the list of functions here:
    some examples of use:

    However, I would instruct you to use sockets as it is the most platform independednt solution to communicate between applications and allows you to have (if desired in teh future) remote control and plugin of otehr appilcaitons from other platforms. plus that allows you to exchange data no matter the format/size.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
    Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now