I am completely new to Windows programming so please excuse any naivety on my part when asking this question. I'll briefly describe my situation and then hopefully you'll be able to answer my question.
I have a small executable file that was written in Delphi and packed with Aspack 2.12.
When the file runs there is a variable called Total which gets incremented. When the file exits a .dat file gets updated with the new Total value.
I can program something to 'read' the Total from the .dat file (just by using php or one of the languages I'm familiar with). However, I would like to read the Total value in "real time" when the executable is running (I don't need to 'write' to the Total value - just read it).
I wondered if there was any way of writing an application that would "reach in" to a running executable and read a variable out of it?
I remember back in the Spectrum days you could "peek" and "poke" memory. Is something like this feasible?
I wondered if this is even possible and, if so, how could I go about doing this?