Click here to Skip to main content
16,011,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how do you send a command line properly? Pin
Chris Losinger21-Jan-01 9:16
professionalChris Losinger21-Jan-01 9:16 
GeneralRe: how do you send a command line properly? Pin
Tim Deveaux21-Jan-01 13:49
Tim Deveaux21-Jan-01 13:49 
QuestionWhat are the ids and types of all items in the Open File Common Dialog ? Pin
20-Jan-01 14:08
suss20-Jan-01 14:08 
AnswerRe: What are the ids and types of all items in the Open File Common Dialog ? Pin
20-Jan-01 21:11
suss20-Jan-01 21:11 
AnswerRe: What are the ids and types of all items in the Open File Common Dialog ? Pin
22-Jan-01 12:19
suss22-Jan-01 12:19 
GeneralSave & Load Pin
20-Jan-01 8:02
suss20-Jan-01 8:02 
GeneralRe: Save & Load Pin
Christian Graus20-Jan-01 13:59
protectorChristian Graus20-Jan-01 13:59 
GeneralRe: Save & Load Pin
AlexMarbus21-Jan-01 12:13
AlexMarbus21-Jan-01 12:13 
.. I'd use the registry

Why? The registry is already filled with unnecessary crap Frown | :( The bigger the registry, the slower Windows. I see a lot of applications do this. The application I'm currently working on, saves as little as possible in the registry. Ofcourse, you should write something there, but try to keep it as low and small as possible.

Your second suggestion seems very good to me. Use a CFile (CArchive) combined with Serialisation sounds really good, although it's a little overkill for one value.
I think CStdioFile is a good option here, as well as writing those values in a .ini file. See GetPrivateProfileString/GetPrivateProfileInt and WritePrivateProfileString/GetPrivateProfileInt.

Goodluck!

--
Alex Marbus
GeneralRe: Save & Load Pin
Christian Graus21-Jan-01 12:35
protectorChristian Graus21-Jan-01 12:35 
GeneralRe: Save & Load Pin
AlexMarbus21-Jan-01 12:42
AlexMarbus21-Jan-01 12:42 
GeneralRe: Save & Load Pin
22-Jan-01 2:17
suss22-Jan-01 2:17 
GeneralObjective Grid - Spin Control - Help!!! Pin
20-Jan-01 7:07
suss20-Jan-01 7:07 
GeneralOnKeyDown Pin
Sjoerd van Leent20-Jan-01 3:56
Sjoerd van Leent20-Jan-01 3:56 
GeneralRe: OnKeyDown Pin
20-Jan-01 4:21
suss20-Jan-01 4:21 
GeneralChild wizard that don't allow to access the controls of his parent dialog (How to avoid?) Pin
Joan M20-Jan-01 3:24
professionalJoan M20-Jan-01 3:24 
GeneralRe: Child wizard that don't allow to access the controls of his parent dialog (How to avoid?) Pin
AlexMarbus21-Jan-01 12:19
AlexMarbus21-Jan-01 12:19 
QuestionHow to get the "name -> WM_xxx" of a message if I have the numeric ID? Pin
Joan M20-Jan-01 0:58
professionalJoan M20-Jan-01 0:58 
AnswerRe: How to get the Pin
NormDroid20-Jan-01 1:45
professionalNormDroid20-Jan-01 1:45 
GeneralRe: How to get the Pin
Joan M20-Jan-01 1:54
professionalJoan M20-Jan-01 1:54 
GeneralRe: How to get the Pin
20-Jan-01 1:55
suss20-Jan-01 1:55 
GeneralRe: How to get the Pin
Joan M20-Jan-01 2:08
professionalJoan M20-Jan-01 2:08 
GeneralRe: How to get the Pin
AlexMarbus21-Jan-01 12:26
AlexMarbus21-Jan-01 12:26 
AnswerRe: How to get the Pin
Michael Dunn20-Jan-01 5:30
sitebuilderMichael Dunn20-Jan-01 5:30 
GeneralNetwork game Pin
20-Jan-01 0:54
suss20-Jan-01 0:54 
GeneralRe: Network game Pin
NormDroid20-Jan-01 1:39
professionalNormDroid20-Jan-01 1:39 

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.