Alex Rivera | Logout

Using C++ to edit the registry

Asked 2009-05-14T15:21:50.197
17

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\CurrentVersion\Policies\Explorer\NoDriveTypeAutoRun and check to see if 0x20 is in it, and then if it is, subtract 0x20 from it's value and write it back (and kill and restart explorer.exe but I can figure that out on my own).

How would you do it?

Edit
Report

1 Answer

43
answered 2009-05-14T15:34:47.263

Your Answer