How can I access the eax info from a running process.

If I debug a process with Visual C++ I can monitor the eax (EAX = 7FFDF000). I have a module within the process already. What I wish to do is be able to monitor that value from within my dll via script.

Sorry if that is confusing but I'm new to programming.