使用C++在Windows寄存器中插入值

Insert values in Windows register using C++

本文关键字:插入 寄存器 Windows C++ 使用      更新时间:2023-10-16

我想每秒将临时数据插入Windows寄存器。问题是,每秒插入新数据和替换旧数据会对性能产生什么影响?

取决于数据量。Windows注册表非常健壮,并且针对密集的读写进行了很好的优化。为了给人留下深刻印象,请尝试使用Process Explorer观看注册表访问(可从MS-http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx)一段时间。只要你保持你的蜂箱整洁,你就应该没事。