I opened a notespad, typing an "A" on it. How can I find the memory address of the letter "A", and using WriteProcessMemory to change it? or using other method?
use sendmessage with the messageparameter WM_CHAR or WM_KEYDOWN...
But ensure, that you send it to the right handle. Dont send it to the main window.
enumerate the childwindows(in this case you sure seek richeditcontrol...) and save the right handle.
But ensure, that you send it to the right handle. Dont send it to the main window.
enumerate the childwindows(in this case you sure seek richeditcontrol...) and save the right handle.