Registry Keys
Hi. Anyone know the most direct way of adding/editing registry keys? Thanks.
____
Kevin Dickerson
____Kevin Dickerson
RegOpenKeyEx and RegCreateKeyEx will set a hKey to the registry key you specify.
RegSetValueEx allows you to create and update values.
RegQueryValueEX allows you to read data from a value.
RegCloseKey closes the hKey.
I haven''t got any source here as it is at home and I am at work but it''s not too hard to figure out, just have a look in the Win32 help file.
RegSetValueEx allows you to create and update values.
RegQueryValueEX allows you to read data from a value.
RegCloseKey closes the hKey.
I haven''t got any source here as it is at home and I am at work but it''s not too hard to figure out, just have a look in the Win32 help file.
I have a C++ Registry class that was written by the boys at Microsoft.
It comes right out of MFC and works really well. It simplifies all of those calls to the Win32 API and did I mention that it was written by Microsoft (read this as... it''s been tested).
You can hunt for it yourself or I can email it to you.
David "Dak Lozar" Loeser
It comes right out of MFC and works really well. It simplifies all of those calls to the Win32 API and did I mention that it was written by Microsoft (read this as... it''s been tested).
You can hunt for it yourself or I can email it to you.
David "Dak Lozar" Loeser
Dave Dak Lozar Loeser
"Software Engineering is a race between the programmers, trying to make bigger and better fool-proof software, and the universe trying to make bigger fools. So far the Universe in winning."--anonymous
"Software Engineering is a race between the programmers, trying to make bigger and better fool-proof software, and the universe trying to make bigger fools. So far the Universe in winning."--anonymous
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement