Chat Spammer(sending a string to a windows program)

Just to get this out of the way, NO I DO NOT INTEND TO USE THIS MALICIOUSLY, AND I AM MERELY INTERESTED OF THE APPLICATIONS OF C++ IN WINDOWS BASED PROGRAMS. Also, I made a topic like this before but it kinda died. So, without further adue..


I figured I would experiment with working with other programs using C++, and a basic chat spammer came to mind. After a while of looking into sending messages to other programs, such as notepad, I was able to send individual keystrokes. My problem is that I have not been able to send a string to a program. pseodo code:

1
2
for(blah blah blah)
{//code here sends string to said program} 


I am stuck.

Last edited on
closed account (Dy7SLyTq)
a) that is not pseudo code.
b) you actually sent keystrokes to notepad? not a .txt file? could you pm me the code?
Topic archived. No new replies allowed.