Click here to Skip to main content
15,912,932 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: More Registry questions Pin
Selevercin20-Jun-02 5:12
Selevercin20-Jun-02 5:12 
GeneralCDialog & Multithreading :: MFC Pin
valikac19-Jun-02 13:19
valikac19-Jun-02 13:19 
GeneralRe: CDialog & Multithreading :: MFC Pin
Nish Nishant19-Jun-02 13:27
sitebuilderNish Nishant19-Jun-02 13:27 
GeneralRe: CDialog & Multithreading :: MFC Pin
valikac19-Jun-02 13:47
valikac19-Jun-02 13:47 
GeneralRe: CDialog & Multithreading :: MFC Pin
Nish Nishant19-Jun-02 13:55
sitebuilderNish Nishant19-Jun-02 13:55 
GeneralRe: CDialog & Multithreading :: MFC Pin
valikac19-Jun-02 14:26
valikac19-Jun-02 14:26 
GeneralATL Server Pin
Al_Pennyworth19-Jun-02 12:35
Al_Pennyworth19-Jun-02 12:35 
GeneralRegistry Theory Question Pin
soup19-Jun-02 12:30
soup19-Jun-02 12:30 
Hi,

I have recently been working on my first big C++ application, and it has quite a lot of persistent Registry entries.

Anyway, when I want to know an app setting, I am doing AfxGetApp()->GetProfileXXX... to get the setting.

My question is this: is it slower to keep calling that function or to hive off the settings and keep updating that hive if the settings are changed?

Example #1:

A loop 10,000 times with a Registry call each loop is probably slower than reading the value out and then looping 10,000 times.

Example #2:

An event fires (such as WM_CHAR) that reads a setting and uses it once before the end of the handler. Is this slower than having the external hive?

Input, ideas and peep's programming practices in this field greatly appreciated.

Thanks in advance,

Si
GeneralRe: Registry Theory Question Pin
Nish Nishant19-Jun-02 13:01
sitebuilderNish Nishant19-Jun-02 13:01 
GeneralRe: Registry Theory Question Pin
soup19-Jun-02 13:12
soup19-Jun-02 13:12 
GeneralRe: Registry Theory Question Pin
Michael Dunn19-Jun-02 19:09
sitebuilderMichael Dunn19-Jun-02 19:09 
GeneralMultiply Copies of same image Pin
19-Jun-02 12:23
suss19-Jun-02 12:23 
GeneralRe: Multiply Copies of same image Pin
Christian Graus19-Jun-02 14:00
protectorChristian Graus19-Jun-02 14:00 
GeneralTooltips + Codepage / Owner-drawn Pin
Oz Ben Eliezer19-Jun-02 12:09
Oz Ben Eliezer19-Jun-02 12:09 
GeneralOutlook Event Sinks Pin
19-Jun-02 11:18
suss19-Jun-02 11:18 
Generalrun a process as a different user Pin
Jason Henderson19-Jun-02 11:16
Jason Henderson19-Jun-02 11:16 
GeneralRe: run a process as a different user Pin
Navin19-Jun-02 11:48
Navin19-Jun-02 11:48 
GeneralRe: run a process as a different user Pin
Jason Henderson20-Jun-02 3:36
Jason Henderson20-Jun-02 3:36 
GeneralMinimizing a modless dialog into taskbar Pin
19-Jun-02 11:06
suss19-Jun-02 11:06 
GeneralRe: Minimizing a modless dialog into taskbar Pin
Nish Nishant19-Jun-02 11:16
sitebuilderNish Nishant19-Jun-02 11:16 
GeneralRe: Minimizing a modless dialog into taskbar Pin
Tim Smith20-Jun-02 2:08
Tim Smith20-Jun-02 2:08 
GeneralRe: How to save objects in windows register Pin
19-Jun-02 10:39
suss19-Jun-02 10:39 
GeneralRe: How to save objects in windows register Pin
19-Jun-02 10:43
suss19-Jun-02 10:43 
GeneralRe: How to save objects in windows register Pin
Nish Nishant19-Jun-02 10:46
sitebuilderNish Nishant19-Jun-02 10:46 
GeneralCharacter insertion into a Editbox! Pin
RuiSantiago19-Jun-02 9:13
RuiSantiago19-Jun-02 9:13 

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.