Hi to all, I am using windows registry. please look the following.
const char* subkey ="Software\\Microsoft\\Windows NT\\CurrentVersion";
if(RegOpenKey(HKEY\_LOCAL\_MACHINE,subkey,&hKey)== ERROR\_SUCCESS)
{
cout<<"register is opened";
}
else
{
cout<<"still not working";
}
Above one is working correctly. And also displaying the message correctly. But when subkey i written like follows it is not working.
const char* subkey ="Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows Messaging Subsystem";
I am not getting the exact problem please address the solution.... Thanks in advance.....
To invent something, you need a mountain of junk in your mind. ---------------------Thomas alva edison