C++ Windows注册表编辑

发布于 2024-10-09 01:20:50 字数 34 浏览 0 评论 0原文

嘿,我需要 C++ 程序来编辑 Windows 注册表

hey i need c++ program to edit windows registry

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

揽月 2024-10-16 01:20:50

Regedit.exe 是一个不错的程序。它可能是用 C++ 编写的。

One good program is Regedit.exe. It is probably written in C++.

拥抱影子 2024-10-16 01:20:50

Qt 有一个优秀的编辑注册表框架 - 即 QSettings。另外,如果您碰巧改变主意并转而使用 Linux,您的代码仍然可以工作,并将数据存储在 .ini 样式的配置文件中。

请注意,Qt 对于 C++ 库来说非常丰富,但也非常实用。你可以用它做很多疯狂的事情。我也绝对推荐它用于 GUI。

Qt has an excellent framework for editing registy - that is, QSettings. And for bonus points, if you happen to change your mind and go Linux, your code would still work, storing your data in .ini-style configuration files.

Take note that Qt is very fat for a C++ library, but also very functional. There's a crazy lot you can do with it. I also absolutely recommend it for GUI.

许一世地老天荒 2024-10-16 01:20:50

可能有一千个用于注册表访问的小型 C++ 包装器。当然我自己也写了。请参阅我的 envvc 中的类 RegistryKey 程序。它只是只读访问权限,但您会明白的。

There are probably a thousand small C++ wrappers for registry access. Of course I wrote my own, too. See the class RegistryKey in my envvc program. It's only read-only access, but you'll get the idea.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文