|
|
1.1 root 1: Sample: Spy
2:
3: Summary:
4:
5: The SPY SDK sample provides a demonstration for monitoring system messages sent to a specified window. SPY records the messages and displays them on the specified device. SPY is also useful in debugging for verifying that the messages you think a window is receiving are being received.
6:
7: SPY demonstrates the following techniques:
8:
9: 1. Using a system message hook.
10: 2. Using the new WM_COPYDATA message to pass data to another application.
11: 3. Reading and writing the Registry.
12: 4. Creating a thread.
13: 5. Creating a DLL for the hook.
14:
15: More Information:
16:
17: To use SPY to monitor messages, do the following:
18:
19: 1. Choose the Options menu to select the following:
20:
21: - Messages - to select the messages you wish to monitor.
22: - Font - to select the font you wish to have displayed.
23: - Output - to select the output device to which you want messages to go (currently COM: is not enabled).
24:
25: 2. Select the window whose messages you want to watch by choosing the Select window command from the Spy menu. This will bring up a dialog box listing the current windows to watch. The default is all windows.
26:
27: 3. The Edit menu it provided to allow you to cut/copy/paste to the clipboard from the SPY window.
28:
29: 4. Choose Start! to start monitoring. Once this option is chosen, the menu item will change to Stop!. Choose Stop! to cease monitoring messages.
30:
31:
32:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.