Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using dev-C++ to query windows registry

Status
Not open for further replies.

labnotes

Technical User
Sep 1, 2003
33
CA
Good day

I would like to write a C/C++ program to query and edit the registry on a windows NT and 2000 PC. There are functions to do this in windows platform SDK such as:
LONG RegOpenCurrentUser(
REGSAM samDesired, // access rights
PHKEY phkResult // handle to open key
);

The problem I have is that I don't know how to use these functions and can't find examples to referrence. Can someone give me a hand with this?

Thanks inadvance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top