Click here to Skip to main content
15,920,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Formatting Output Pin
Garth J Lancaster20-Feb-13 13:37
professionalGarth J Lancaster20-Feb-13 13:37 
QuestionBOM Code Pin
Michael Haephrati20-Feb-13 10:41
professionalMichael Haephrati20-Feb-13 10:41 
SuggestionRe: BOM Code Pin
David Crow20-Feb-13 10:47
David Crow20-Feb-13 10:47 
GeneralRe: BOM Code Pin
Michael Haephrati20-Feb-13 10:49
professionalMichael Haephrati20-Feb-13 10:49 
QuestionOn displaying two images second image overlapps first image Pin
Sachin k Rajput 20-Feb-13 0:32
Sachin k Rajput 20-Feb-13 0:32 
AnswerRe: On displaying two images second image overlapps first image Pin
Richard MacCutchan20-Feb-13 2:40
mveRichard MacCutchan20-Feb-13 2:40 
AnswerRe: On displaying two images second image overlapps first image Pin
Michael Haephrati20-Feb-13 10:15
professionalMichael Haephrati20-Feb-13 10:15 
QuestionCFileDialog with preview working in Xp but not in Win7 Pin
002comp19-Feb-13 18:50
002comp19-Feb-13 18:50 
AnswerRe: CFileDialog with preview working in Xp but not in Win7 Pin
Richard MacCutchan19-Feb-13 22:10
mveRichard MacCutchan19-Feb-13 22:10 
GeneralRe: CFileDialog with preview working in Xp but not in Win7 Pin
002comp19-Feb-13 22:46
002comp19-Feb-13 22:46 
GeneralRe: CFileDialog with preview working in Xp but not in Win7 Pin
Richard MacCutchan19-Feb-13 23:01
mveRichard MacCutchan19-Feb-13 23:01 
GeneralRe: CFileDialog with preview working in Xp but not in Win7 Pin
002comp20-Feb-13 18:46
002comp20-Feb-13 18:46 
GeneralRe: CFileDialog with preview working in Xp but not in Win7 Pin
Richard MacCutchan20-Feb-13 21:06
mveRichard MacCutchan20-Feb-13 21:06 
QuestionProblem Reading/Writing Registry in Windows 7? Pin
Member 919975419-Feb-13 9:40
Member 919975419-Feb-13 9:40 
AnswerRe: Problem Reading/Writing Registry in Windows 7? Pin
David Crow19-Feb-13 9:50
David Crow19-Feb-13 9:50 
GeneralRe: Problem Reading/Writing Registry in Windows 7? Pin
Member 919975419-Feb-13 13:10
Member 919975419-Feb-13 13:10 
GeneralRe: Problem Reading/Writing Registry in Windows 7? Pin
Peter_in_278019-Feb-13 20:48
professionalPeter_in_278019-Feb-13 20:48 
GeneralRe: Problem Reading/Writing Registry in Windows 7? Pin
Member 919975420-Feb-13 6:27
Member 919975420-Feb-13 6:27 
AnswerRe: Problem Reading/Writing Registry in Windows 7? Pin
jschell20-Feb-13 8:11
jschell20-Feb-13 8:11 
GeneralRe: Problem Reading/Writing Registry in Windows 7? Pin
jeron120-Feb-13 8:14
jeron120-Feb-13 8:14 
GeneralRe: Problem Reading/Writing Registry in Windows 7? Pin
Member 919975420-Feb-13 16:31
Member 919975420-Feb-13 16:31 
Well, this is what I have found so far.

The Registry key permission setting does indeed stop my program from writing to its Registry key. On my two WinXP and my Win7 systems the Registry key permissions are set to "full control".

Registry editor does not allow me to manually change the "full control" permission to "Read". The "full control" permission is checked but disabled (dimmed) so I can't change it and I don't know why. I had to find a utility that changed the permission outside of registry editor. When the key permission was changed to "read" then writing to the Registry failed.

CWinApp:WriteProfileInt() fails with a "read" permision but there is no error code associated with the failure (i.e. GetLastError() doesn't return an error code).

I think the only thing I can do is detect the Registry write failure, report it to the user, and use an INI file instead of the Registry. I don't particularily like it but I think that's my only choice.
AnswerRe: Problem Reading/Writing Registry in Windows 7? Pin
Shaheed Legion26-Feb-13 5:21
Shaheed Legion26-Feb-13 5:21 
QuestionUsing C++ TagLib, not TagLib Sharp - how to write APIC frames Pin
Steve S19-Feb-13 6:32
Steve S19-Feb-13 6:32 
AnswerRe: Using C++ TagLib, not TagLib Sharp - how to write APIC frames Pin
Steve S19-Feb-13 7:21
Steve S19-Feb-13 7:21 
Question[MFC] How to use the Picture Control to show jpg image? Pin
yu-jian19-Feb-13 4:26
yu-jian19-Feb-13 4:26 

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.