Every time I see someone's off-piste raytracer project, I feel compelled to link my own silly contribution to that diaspora: <a href="https://github.com/chunky/sqlraytracer" rel="nofollow">https://github.com/chunky/sqlraytracer</a>
Love this though I have to ask, wouldn't getting the HWND of the Edit Control via WindowFromPoint and sending WM_SETTEXT be easier than digging through memory?<p>I guess the point may be to learn how Cheat Engine can be used in a practical way to hook things which is definitely more along the lines of some of the author's other posts!
This needs a 2020 flare @dang<p>Still very neat!<p>Previous discussion: <a href="https://news.ycombinator.com/item?id=23246221" rel="nofollow">https://news.ycombinator.com/item?id=23246221</a>
Great write up! Building a memory scanner and using that to inject text into notepad seems like a fascinating journey and it sounds like you learned a lot. Keep up the good work!
For those who don't understand the significance of this I highly encourage you to learn about ray tracing and the complexity of it. If combining something that complex with something so simple (Notepad.exe) is not art I don't know what is.
Hey I can draw in Notepad.exe too! GetDC(hwnd)<p>Note that if you actually want to do something like this, you'd probably need to deactivate the Edit window from rendering anything, sending WM_SETREDRAW will probably work.