开发者

C++/Qt: how to access windows registry remotely?

开发者 https://www.devze.com 2023-03-17 04:14 出处:网络
does anyone have a clue how I can read values from the windows registry of a remote host (presuming I have sufficient rights). I mean by software/ my own written code. I need this for my tool e.g. to

does anyone have a clue how I can read values from the windows registry of a remote host (presuming I have sufficient rights). I mean by software/ my own written code. I need this for my tool e.g. to get a list of installed software on that machine.

Is this possible in C,C++, or even Qt? Do I have to use some MSDN commands?开发者_StackOverflow

Please see new questions below; 32-bit <-> 64-bit problem.


Have a look at the RegConnectRegistry function in MSDN. This allows you to open a handle to a remote registry key and then use the standard registry APIs to interact with it.

0

精彩评论

暂无评论...
验证码 换一张
取 消