Registry
The Origin C Registry class contains several methods that are used to access Windows registry.
EX1
void Registry_Registry_Ex1() { Registry reg(HKEY_CURRENT_USER); string strDialogName = "Set Value"; string strKey = GetRegKey() + "\\Dialogs\\" + strDialogName; string strValueName = "AutoUpdate"; DWORD dwVal; // output reg.GetValue(strKey, strValueName, dwVal); printf("Value of the key - %s is:\n%d\n", strKey, dwVal); }
origin.h