Click here to Skip to main content
       

C / C++ / MFC

 
GeneralRe: Can a modeless dialog box be a main window PinmemberForNow30-Jan-13 7:31 
QuestionAnyone heard of an Anonymous Statistics / User Experience API or Toolkit PinmemberBlake Miller29-Jan-13 6:11 
QuestionHow to load a png image in PictureControl? PingroupVCProgrammer29-Jan-13 1:41 
QuestionRe: How to load a png image in PictureControl? PinmvpRichard MacCutchan29-Jan-13 3:33 
AnswerRe: How to load a png image in PictureControl? Pingroupyu-jian29-Jan-13 15:40 
GeneralRe: How to load a png image in PictureControl? PingroupVCProgrammer30-Jan-13 22:19 
GeneralRe: How to load a png image in PictureControl? Pingroupyu-jian1-Feb-13 4:04 
GeneralRe: How to load a png image in PictureControl? PingroupVCProgrammer4-Feb-13 1:24 
QuestionIn win7 ,how to modify registry with Non - administrator permission Pinmemberhaha_c28-Jan-13 21:08 
AnswerRe: In win7 ,how to modify registry with Non - administrator permission PinmemberJochen Arndt28-Jan-13 21:38 
GeneralRe: In win7 ,how to modify registry with Non - administrator permission Pinmemberhaha_c28-Jan-13 22:02 
GeneralRe: In win7 ,how to modify registry with Non - administrator permission PinmemberJochen Arndt28-Jan-13 22:57 
GeneralRe: In win7 ,how to modify registry with Non - administrator permission Pinmemberhaha_c28-Jan-13 23:18 
GeneralRe: In win7 ,how to modify registry with Non - administrator permission PinmemberJochen Arndt28-Jan-13 23:33 
At the moment I know only two reasons for denied permissions when trying to write to HKCU:
  1. Using RegOpenKeyEx(), the key was not opened with the KEY_SET_VALUE or KEY_WRITE access right.
  2. Using RegOpenKey() instead of RegOpenKeyEx().
Regarding the second reason I will cite the MSDN:
Quote:
The RegOpenKey function uses the default security access mask to open a key. If opening the key requires a different access right, the function fails, returning ERROR_ACCESS_DENIED. An application should use the RegOpenKeyEx function to specify an access mask in this situation.

If this does not solve your problem, you should show us the code that fails (including the RegOpenKeyEx() call).
QuestionGet CBitmap from CDib PinmemberFlaviu228-Jan-13 20:30 
AnswerRe: Get CBitmap from CDib PinmemberJochen Arndt28-Jan-13 21:31 
QuestionAbout virtual function PingroupEhtishamArshad28-Jan-13 19:40 
AnswerRe: About virtual function Pinmemberjibesh28-Jan-13 19:51 
GeneralRe: About virtual function PingroupEhtishamArshad28-Jan-13 22:32 
AnswerRe: About virtual function PinmvpRichard MacCutchan28-Jan-13 22:48 
Questionwhere can download comment macro? Pingroupyu-jian28-Jan-13 15:36 
AnswerRe: where can download comment macro? Pinmemberjibesh28-Jan-13 19:48 
QuestionFilter the EN_KILLFOCUS message from CIPAddressCtrl Pinmemberzhangyoung28-Jan-13 14:53 
AnswerRe: Filter the EN_KILLFOCUS message from CIPAddressCtrl PinmemberCode-o-mat28-Jan-13 22:27 
GeneralRe: Filter the EN_KILLFOCUS message from CIPAddressCtrl Pinmemberzhangyoung29-Jan-13 3:04 
GeneralRe: Filter the EN_KILLFOCUS message from CIPAddressCtrl PinmemberCode-o-mat29-Jan-13 3:13 
QuestionHow to create an uncompressed avi file from a matrix of data? PinmemberKiran Satish27-Jan-13 16:40 
QuestionRe: How to create an uncompressed avi file from a matrix of data? PinmvpCPallini27-Jan-13 22:38 
AnswerRe: How to create an uncompressed avi file from a matrix of data? PinmemberKiran Satish28-Jan-13 4:42 
AnswerRe: How to create an uncompressed avi file from a matrix of data? PinmemberChris Losinger28-Jan-13 5:10 
AnswerRe: How to create an uncompressed avi file from a matrix of data? PinmemberVaclav_Sal28-Jan-13 9:50 
AnswerRe: How to create an uncompressed avi file from a matrix of data? PinmemberMax_Power_Up26-Feb-13 5:51 
QuestionWaveInOpen() returns error code 11 PinmemberAmbiguousName26-Jan-13 3:14 
AnswerRe: WaveInOpen() returns error code 11 PinmvpRichard MacCutchan26-Jan-13 3:28 
QuestionStuck with function pointers in C and C++ PinmemberSimon Langdon25-Jan-13 0:38 
AnswerRe: Stuck with function pointers in C and C++ PinmvpCPallini25-Jan-13 0:59 
AnswerRe: Stuck with function pointers in C and C++ PinmemberFreak3025-Jan-13 1:08 
GeneralRe: Stuck with function pointers in C and C++ PinmemberSimon Langdon25-Jan-13 1:41 
GeneralRe: Stuck with function pointers in C and C++ PinmemberStefan_Lang29-Jan-13 0:02 
GeneralRe: Stuck with function pointers in C and C++ PinmemberSimon Langdon29-Jan-13 0:38 
GeneralRe: Stuck with function pointers in C and C++ PinmemberStefan_Lang29-Jan-13 4:31 
GeneralRe: Stuck with function pointers in C and C++ PinmvpCPallini25-Jan-13 2:04 
GeneralRe: Stuck with function pointers in C and C++ PinmemberFreak3027-Jan-13 23:30 
AnswerRe: Stuck with function pointers in C and C++ PinmemberStephen Hewitt27-Jan-13 4:40 
QuestionUSB Device Path Handle Problem Pinmemberyogeshs24-Jan-13 21:21 
AnswerRe: USB Device Path Handle Problem PinmemberVaclav_Sal28-Jan-13 10:08 
QuestionHow to create a button on the right of the screen in mfc.? Pinmembermbatra3124-Jan-13 19:53 
AnswerRe: How to create a button on the right of the screen in mfc.? PinmvpRichard MacCutchan24-Jan-13 22:47 
GeneralRe: How to create a button on the right of the screen in mfc.? Pinmembermbatra3127-Jan-13 19:39 
GeneralRe: How to create a button on the right of the screen in mfc.? PinmvpRichard MacCutchan27-Jan-13 22:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140921.1 | Last Updated 22 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid