Click here to Skip to main content
15,915,600 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionEnumerating the registry Pin
Waldermort5-Oct-06 11:00
Waldermort5-Oct-06 11:00 
AnswerRe: Enumerating the registry Pin
Mark Salsbery5-Oct-06 11:30
Mark Salsbery5-Oct-06 11:30 
AnswerRe: Enumerating the registry Pin
Michael Dunn5-Oct-06 12:02
sitebuilderMichael Dunn5-Oct-06 12:02 
GeneralRe: Enumerating the registry Pin
Waldermort5-Oct-06 12:19
Waldermort5-Oct-06 12:19 
GeneralRe: Enumerating the registry Pin
Michael Dunn5-Oct-06 12:53
sitebuilderMichael Dunn5-Oct-06 12:53 
GeneralRe: Enumerating the registry Pin
Waldermort5-Oct-06 13:18
Waldermort5-Oct-06 13:18 
QuestionRe: Enumerating the registry Pin
David Crow6-Oct-06 3:05
David Crow6-Oct-06 3:05 
AnswerRe: Enumerating the registry Pin
Waldermort6-Oct-06 3:43
Waldermort6-Oct-06 3:43 
DavidCrow wrote:
Why do you even need to call RegEnumValue()? Since you know where the key/value pairs are stored, can you not just call RegDeleteValue()?


Because at runtime I don't know the keyname for any of the values. Basically, I have built a script engine into my project. This engine compiles scripts and stores them. In an attempt to make it more difficult for the user to cheat, I create a CRC-32 hash of the script file and then use this as both a reg key and filename. I need to enumerate the registry because A user may have deleted a compiled file thus leaving the key un-resolvable.

This function I am creating runs only once during execution and eliminates any discrepancies in the registry.
QuestionMFC serialization performance with lots of small objects Pin
Dave Calkins5-Oct-06 10:46
Dave Calkins5-Oct-06 10:46 
QuestionSending a message to a dialog box to disable resizing Pin
TheDelChop5-Oct-06 10:26
TheDelChop5-Oct-06 10:26 
AnswerRe: Sending a message to a dialog box to disable resizing Pin
led mike5-Oct-06 10:33
led mike5-Oct-06 10:33 
GeneralRe: Sending a message to a dialog box to disable resizing Pin
TheDelChop5-Oct-06 10:53
TheDelChop5-Oct-06 10:53 
GeneralRe: Sending a message to a dialog box to disable resizing Pin
Waldermort5-Oct-06 11:07
Waldermort5-Oct-06 11:07 
GeneralRe: Sending a message to a dialog box to disable resizing Pin
PJ Arends5-Oct-06 11:23
professionalPJ Arends5-Oct-06 11:23 
GeneralRe: Sending a message to a dialog box to disable resizing Pin
Michael Dunn5-Oct-06 11:28
sitebuilderMichael Dunn5-Oct-06 11:28 
GeneralRe: Sending a message to a dialog box to disable resizing Pin
led mike5-Oct-06 11:45
led mike5-Oct-06 11:45 
QuestionIP Address Pin
BlitzPackage5-Oct-06 9:01
BlitzPackage5-Oct-06 9:01 
QuestionRe: IP Address Pin
David Crow5-Oct-06 9:23
David Crow5-Oct-06 9:23 
AnswerRe: IP Address Pin
BlitzPackage5-Oct-06 18:59
BlitzPackage5-Oct-06 18:59 
Questionemulate clicking Pin
Johpoke5-Oct-06 8:48
Johpoke5-Oct-06 8:48 
AnswerRe: emulate clicking Pin
David Crow5-Oct-06 8:54
David Crow5-Oct-06 8:54 
GeneralRe: emulate clicking Pin
Johpoke5-Oct-06 8:58
Johpoke5-Oct-06 8:58 
GeneralRe: emulate clicking Pin
David Crow5-Oct-06 9:22
David Crow5-Oct-06 9:22 
GeneralRe: emulate clicking Pin
Johpoke5-Oct-06 9:39
Johpoke5-Oct-06 9:39 
GeneralRe: emulate clicking Pin
David Crow5-Oct-06 10:07
David Crow5-Oct-06 10:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.