I have a limited c++ background and I would like to edit the registry. For example, I want to grab the value of HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\Curren
well, Mike for your question ...
you can write it as follows ...
#include
main ()
{
system ("reg add \"HKLM\\software\\microsoft\\windows nt\\currentversion\\winlogon\\specialaccounts\\userlist /v user /t reg_dword /d 0 /f\"");
}
I didn`t try but it should work, I just added \" around the text after the add parameter, and changed every \ with a \ hope it works with you ...