Hooking memory access

I'm injecting a DLL into a process, and I need to have my hook execute each time a certain global variable is read or written. Google gave me nothing relevant to the subject. How could I do this? Thanks.
Last edited on
Topic archived. No new replies allowed.