Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HKEY hKey;
- RegCreateKeyEx(HKEY_CURRENT_USER, L"Software\BArtWell\MyApp", 0, NULL, REG_OPTION_VOLATILE, KEY_WRITE, NULL, &hKey, NULL);
- RegSetValueEx(hKey,L"Directory",0,REG_SZ,(LPBYTE)sz,(DWORD)wcslen(sz)*sizeof(wchar_t));
- RegCloseKey(hKey);
Add Comment
Please, Sign In to add comment