怎样编程实现对注册表的备份?

解决方案 »

  1.   

    最简单的办法就是获取到注册表的文件,将其copy到其他的地方,需要的时候再copy回去,就可以了,嘿嘿。
      

  2.   

    试试这个函数,不过我也没有使用过,无法提供代码。LONG RegSaveKey(
        HKEY hKey, // handle of key where save begins  
        LPCTSTR lpFile, // address of filename to save to 
        LPSECURITY_ATTRIBUTES lpSecurityAttributes  // address of security structure 
       );