|
-
July 23rd, 1999, 06:09 AM
#1
Access Registry
I want to get the value of a string("Exchange") in the registry path HKEY_LOCAL_USER\\SOFTWARE\\Microsoft
How can I access it ?
-
July 23rd, 1999, 06:25 AM
#2
Re: Access Registry
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
-
July 23rd, 1999, 06:26 AM
#3
Re: Access Registry
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
-
July 24th, 1999, 03:53 AM
#4
Re: Access Registry
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|