HKEY hKey; LPCTSTR CFDW_Reg_Key = TEXT("SOFTWARE\\Company A\\Application_Name\\1.13"); result = RegOpenKeyEx( HKEY_LOCAL_MACHINE, CFDW_Reg_Key, NULL, KEY_READ | KEY_WRITE, &hKey);
HKEY hKey; DWORD buflen; LPCWSTR REG_INSTALL_PATH_NAME = TEXT("InstallPath"); result = RegQueryValueEx(hKey, REG_INSTALL_PATH_NAME, 0, 0, 0, &buflen);
ERROR_FILE_NOT_FOUND
HKLM\Software\Wow6432Node
HKLM\Software
REGSAM flag = KEY_WOW64_32KEY or KEY_WOW64_64KEY; // fake code result = RegOpenKeyEx( HKEY_LOCAL_MACHINE, CFDW_Reg_Key, NULL, KEY_READ | KEY_WRITE | flag, &hKey);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)