I want to get the value of a string("Exchange") in the registry path HKEY_LOCAL_USER\\SOFTWARE\\Microsoft
How can I access it ?
Printable View
I want to get the value of a string("Exchange") in the registry path HKEY_LOCAL_USER\\SOFTWARE\\Microsoft
How can I access it ?
Try this:
char path[100];
DWORD w = 100;
key.Open(HKEY_LOCAL_USER,"SOFTWARE\\Microsoft");
key.QueryValue(path, "Exchange", &w);
Let me know if this help you
Try this:
CRegKey key;
char path[100];
DWORD w = 100;
key.Open(HKEY_LOCAL_USER,"SOFTWARE\\Microsoft");
key.QueryValue(path, "Exchange", &w);
Let me know if this help you
hi,
Thanx for ur code. But I couldn't use it since it is giving me linker errors as unresolved external symbols for the functions. Please tell me how to use it.
Regards,
Partha.