Hi,
I'm trying to set up some basic communication between two programs via the registry.
For this I would like to use the functions
Code:
int value=10;
CString strSection="Data";
CWinApp* pApp = AfxGetApp();
pApp->WriteProfileInt(strSection,ValueName,value);
and
Code:
CString strSection="Data";
CWinApp* pApp = AfxGetApp();
int value=pApp->GetProfileInt(strSection,ValueName,0);
which read/write to the application's registry.
Is there some way of making two different programs use the same application registry?
I realize there's probably more conventional methods for communication, but I'm just looking for something really basic here.
Thank you in advance.