Program Interaction Question

Started by
2 comments, last by Ranthalion 20 years, 9 months ago
I''m working on making a program to log AIM chats, but I haven''t found a way to get my program to see what AIM is doing. How would I be able to catch the text that is being sent and received in AIM? Or in any specific program for that matter. I''m using MSVC++ 6.0 and I''ve tried a few of the tools, such as Spy++ to figure it out, but haven''t come across a clue yet. Any suggestions?
Advertisement
Well, I found out how to get the text from another process in windows using SendMessage(...) and WM_GETTEXT, but I still need to be able to identify the target application. Does anyone out here know how to find out the Handle of an application that is already running?
How about:

HMODULE GetModuleHandle(
LPCTSTR lpModuleName
);


I worked on that, but it doesn''t seem to do what I need. It always returns null. I pass it the program name, including path, but I can''t seem to get it. The target program is running and everything.
Maybe I''m going about this the wrong way. I want to make a log file of my AIM conversations. Do you guys have any suggestions for a better way to do this?

This topic is closed to new replies.

Advertisement