Here are some of my questions:
1. How do you get around protected memory? As in, access another program's memory. Like how a trainer for a game would. I know how to set a pointer to that address, but the OS keeps it from being able to read and write to it without crashing my program.
2.(relates to #1) I have the offsets for the values in a game's dll. Now, how would I find the memory address of the dll. I got the offsets from a memory reading program, but I would like to be able to access this with my own program.
3. How would you go about reading pixels from the screen? Mainly, a DirectX program.
4. How can you send out button presses, as if you were using a controller, through DirectInput? Is it done in a similar way as sending messages out to windows?
Sorry if I asked any stupid questions, I just started learning C programming about a month ago. I think I got the basics down, and I'm working on learning Windows API now. # 3 and 4, I don't know much about. And I searched...I don't think these questions were asked before...at least questions #1 and 2 anyway.