I have an application which is running on Windows 7 as 'SYSTEM' user account which sets/resets a flag. I would like to be able to monitor this flag with an application running as the current user. The flag changes state very rarely so speed is not important.
Does anyone have any suggestions as to how I might do this?
What I have tried:
I have tried using HKEY_CURRENT_MACHINE registry section. This appeared to work but not on all machines. I suspect that on 64 bit Windows, the registry is different.