Using C++ to edit the registry

后端 未结 5 1294
盖世英雄少女心
盖世英雄少女心 2020-11-30 12:18

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

5条回答
  •  [愿得一人]
    2020-11-30 13:01

    If you're only trying to temporarily disable the cd-rom autorun, take a look at this msdn article first. Actually, look at it first before disabling it permanently anyway. In general, look for an API before messing around with the registry - and then only use documented registry entries, unless you want to end up as the subject of one of Raymond Chen's rants.

提交回复
热议问题