开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜