Spy (SPY.EXE) and DDESpy (DDESPY.EXE) are monitoring tools for the Microsoft® Windows® operating system. Spy makes it possible for you to monitor messages sent to one or more windows and to examine the values of message parameters. DDESpy lets you monitor dynamic data exchange (DDE) activity.
This overview describes the use of both Spy and DDESpy.