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!

How do you access the registry from c++?

Status
Not open for further replies.

sjn

Programmer
Dec 18, 2000
31
US
I need to be able to access and edit registry items from a startup program. I could either use C or C++ it makes no difference. There will only be a displayed bit map while it launches and MS Access application.

Is there any sample code available that access the registry?

Thanks,

Scott.
 
Scott,

Take a look at the ATL class CRegKey. It makes working with the registry a breeze.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top