Chat on IRC |
Accessing the Registry, C++
Posted by w8up4me [send private reply] at April 27, 2002, 03:59:22 PM
Can anyone help me??
Posted by taubz [send private reply] at April 27, 2002, 04:35:04 PM
You should look at the MSDN at msdn.microsoft.com/library. The important functions are RegOpenKey, RegCloseKey, RegQueryValueEx, and RegSetValueEx.
- taubz
Posted by Mike_L [send private reply] at April 29, 2002, 08:05:15 PM
I made a program that stores its window position in the Registry. Each time your run the program, its window appears in the same place as when you closed the program last.
Go to http://tamale.net/Windows.html and download OutputServer. Look in OutputServerRoutines.cpp for the ReadRegistry() and WriteRegistry() functions. The program uses several Win32 API functions: RegCreateKeyEx() to create or open a key RegQueryValueEx() to read information RegSetValueEx() to write information RegCloseKey() to close the key -Mike_L
Posted by CodeRed [send private reply] at May 01, 2002, 11:29:10 AM
Usefull info, thanks Mike_L
Register as a new user | ||||||