title: Delphi XE2: Sharing a variable between two different processes?
body: <p>I need to share the value of a Boolean variable between 2 running programs (e.g. MyProgramA.exe and MyProgramB.exe); these are different programs, not instances of the same program. I would prefer a global variable in memory over IPC with Windows messages because I think setting a global variable in memory which can be accessed by different programs is faster (i.e. instantaneous), more secure and more reliable than IPC with Windows messages.</p>