Click here to Skip to main content
15,913,587 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need help on how to disable and enable button dynamically Pin
Luc Pattyn14-Feb-09 5:27
sitebuilderLuc Pattyn14-Feb-09 5:27 
GeneralRe: Need help on how to disable and enable button dynamically Pin
CPallini14-Feb-09 6:26
mveCPallini14-Feb-09 6:26 
GeneralRe: Need help on how to disable and enable button dynamically Pin
grassrootkit14-Feb-09 22:49
grassrootkit14-Feb-09 22:49 
AnswerRe: Need help on how to disable and enable button dynamically Pin
«_Superman_»14-Feb-09 16:27
professional«_Superman_»14-Feb-09 16:27 
QuestionC CODE HELP!!! Pin
lincoding14-Feb-09 4:19
lincoding14-Feb-09 4:19 
AnswerRe: C CODE HELP!!! Pin
Hamid_RT14-Feb-09 4:42
Hamid_RT14-Feb-09 4:42 
AnswerRe: C CODE HELP!!! Pin
Perspx14-Feb-09 10:31
Perspx14-Feb-09 10:31 
QuestionReusable class for saving / loading application settings [modified] Pin
Rolf Kristensen14-Feb-09 3:43
Rolf Kristensen14-Feb-09 3:43 
Hi ya

I need a good class for saving / loading application settings. I have the following demands for how it should be built:

1) It should be able to handle groups of settings (One group for each view in the application)
2) It should maintain the settings in memory.
3) It should provide an open interface, so one can attach any serialization / deserialization logic (registry-, ini-, xml-file, etc.)
4) It should not have a restricting license like GPL or similar

I can find lots of articles about saving to ini-files, registry-files, xml-files, etc. But I haven't found an article that makes the abstraction I want.

Please let me know

modified on Saturday, February 14, 2009 9:51 AM

AnswerRe: Reusable class for saving / loading application settings Pin
Hamid_RT14-Feb-09 4:12
Hamid_RT14-Feb-09 4:12 
GeneralRe: Reusable class for saving / loading application settings [modified] Pin
Rolf Kristensen14-Feb-09 4:16
Rolf Kristensen14-Feb-09 4:16 
AnswerRe: Reusable class for saving / loading application settings Pin
CPallini14-Feb-09 6:22
mveCPallini14-Feb-09 6:22 
GeneralRe: Reusable class for saving / loading application settings Pin
Rolf Kristensen14-Feb-09 16:40
Rolf Kristensen14-Feb-09 16:40 
AnswerRe: Reusable class for saving / loading application settings Pin
Rolf Kristensen15-Feb-09 8:52
Rolf Kristensen15-Feb-09 8:52 
QuestionIs there a power function for integers in VC 9.0? Pin
followait14-Feb-09 3:31
followait14-Feb-09 3:31 
AnswerRe: Is there a power function for integers in VC 9.0? Pin
CPallini14-Feb-09 6:31
mveCPallini14-Feb-09 6:31 
AnswerRe: Is there a power function for integers in VC 9.0? Pin
Stuart Dootson14-Feb-09 6:32
professionalStuart Dootson14-Feb-09 6:32 
QuestionDoes the piece of code have flaws, and can it be improved? Pin
followait14-Feb-09 2:40
followait14-Feb-09 2:40 
AnswerRe: Does the piece of code have flaws, and can it be improved? Pin
Stuart Dootson14-Feb-09 6:27
professionalStuart Dootson14-Feb-09 6:27 
GeneralRe: Does the piece of code have flaws, and can it be improved? Pin
followait14-Feb-09 13:32
followait14-Feb-09 13:32 
GeneralRe: Does the piece of code have flaws, and can it be improved? Pin
Stuart Dootson14-Feb-09 13:53
professionalStuart Dootson14-Feb-09 13:53 
GeneralRe: Does the piece of code have flaws, and can it be improved? Pin
followait14-Feb-09 14:50
followait14-Feb-09 14:50 
GeneralRe: Does the piece of code have flaws, and can it be improved? Pin
Stuart Dootson14-Feb-09 22:57
professionalStuart Dootson14-Feb-09 22:57 
QuestionHidden Directory Pin
john563213-Feb-09 22:32
john563213-Feb-09 22:32 
AnswerRe: Hidden Directory Pin
Nuri Ismail13-Feb-09 22:49
Nuri Ismail13-Feb-09 22:49 
Questionhow can i realize if the user is connected to the internet or not? Pin
Joseph Marzbani13-Feb-09 21:44
Joseph Marzbani13-Feb-09 21:44 

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.