Click here to Skip to main content
15,889,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I rewrote the my function for WCHAR Pin
jkirkerx29-Oct-11 7:39
professionaljkirkerx29-Oct-11 7:39 
GeneralRe: I rewrote the my function for WCHAR Pin
jkirkerx29-Oct-11 8:20
professionaljkirkerx29-Oct-11 8:20 
GeneralRe: I rewrote the my function for WCHAR Pin
Richard MacCutchan29-Oct-11 22:21
mveRichard MacCutchan29-Oct-11 22:21 
GeneralRe: I rewrote the my function for WCHAR Pin
jkirkerx30-Oct-11 6:32
professionaljkirkerx30-Oct-11 6:32 
GeneralRe: I rewrote the my function for WCHAR Pin
Richard MacCutchan30-Oct-11 7:16
mveRichard MacCutchan30-Oct-11 7:16 
GeneralRe: I rewrote the my function for WCHAR - grovel Pin
Richard MacCutchan29-Oct-11 23:19
mveRichard MacCutchan29-Oct-11 23:19 
QuestionRegistry usage in MFC Doc/ View - opinions / commentary wanted Pin
Vaclav_27-Oct-11 5:18
Vaclav_27-Oct-11 5:18 
AnswerRe: Registry usage in MFC Doc/ View - opinions / commentary wanted Pin
Albert Holguin27-Oct-11 5:35
professionalAlbert Holguin27-Oct-11 5:35 
It's not really that hard once you do it a few times, so it's very feasible... but if there are other options, for example, you can have a file store the configuration. This gives you the added advantage to make it easy for the user to "share" his configuration (since they can just copy the file) and if you make it plain text (which is the best option, as opposed to writing file out in binary), then they can also edit it outside of the program.

Advantage of using the registry is that it doesn't matter where the executable is, it will always find the registry keys. So if the user decides to move the executable (on purpose or by accident), then their settings will still work.
Questionfopen crashed when special characters found. Pin
tagopi27-Oct-11 2:12
tagopi27-Oct-11 2:12 
AnswerRe: fopen crashed when special characters found. Pin
Luc Pattyn27-Oct-11 2:53
sitebuilderLuc Pattyn27-Oct-11 2:53 
AnswerRe: fopen crashed when special characters found. Pin
Chris Losinger27-Oct-11 3:22
professionalChris Losinger27-Oct-11 3:22 
AnswerRe: fopen crashed when special characters found. Pin
David Crow27-Oct-11 4:49
David Crow27-Oct-11 4:49 
AnswerRe: fopen crashed when special characters found. Pin
Andrew Brock27-Oct-11 7:43
Andrew Brock27-Oct-11 7:43 
GeneralRe: fopen crashed when special characters found. Pin
jschell27-Oct-11 8:30
jschell27-Oct-11 8:30 
GeneralRe: fopen crashed when special characters found. Pin
Andrew Brock27-Oct-11 8:36
Andrew Brock27-Oct-11 8:36 
AnswerRe: fopen crashed when special characters found. Pin
Pranit Kothari27-Oct-11 19:01
Pranit Kothari27-Oct-11 19:01 
AnswerRe: fopen crashed when special characters found. Pin
tagopi27-Oct-11 19:40
tagopi27-Oct-11 19:40 
QuestionHow to refresh folder Pin
MKC00227-Oct-11 0:52
MKC00227-Oct-11 0:52 
AnswerRe: How to refresh folder Pin
Chandrasekharan P27-Oct-11 0:59
Chandrasekharan P27-Oct-11 0:59 
AnswerRe: How to refresh folder Pin
Richard MacCutchan27-Oct-11 1:17
mveRichard MacCutchan27-Oct-11 1:17 
GeneralRe: How to refresh folder Pin
MKC0021-Nov-11 6:40
MKC0021-Nov-11 6:40 
AnswerRe: How to refresh folder Pin
App_27-Oct-11 5:38
App_27-Oct-11 5:38 
QuestionRe: How to refresh folder Pin
David Crow27-Oct-11 5:55
David Crow27-Oct-11 5:55 
AnswerRe: How to refresh folder Pin
App_27-Oct-11 8:57
App_27-Oct-11 8:57 
GeneralRe: How to refresh folder Pin
MKC0024-Nov-11 7:22
MKC0024-Nov-11 7:22 

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.