Click here to Skip to main content
13,589,969 members

C / C++ / MFC

 
GeneralRe: How to load a png image in PictureControl? Pin
yu-jian1-Feb-13 4:04
groupyu-jian1-Feb-13 4:04 
GeneralRe: How to load a png image in PictureControl? Pin
VCProgrammer4-Feb-13 1:24
groupVCProgrammer4-Feb-13 1:24 
QuestionIn win7 ,how to modify registry with Non - administrator permission Pin
haha_c28-Jan-13 21:08
memberhaha_c28-Jan-13 21:08 
AnswerRe: In win7 ,how to modify registry with Non - administrator permission Pin
Jochen Arndt28-Jan-13 21:38
memberJochen Arndt28-Jan-13 21:38 
GeneralRe: In win7 ,how to modify registry with Non - administrator permission Pin
haha_c28-Jan-13 22:02
memberhaha_c28-Jan-13 22:02 
GeneralRe: In win7 ,how to modify registry with Non - administrator permission Pin
Jochen Arndt28-Jan-13 22:57
memberJochen Arndt28-Jan-13 22:57 
GeneralRe: In win7 ,how to modify registry with Non - administrator permission Pin
haha_c28-Jan-13 23:18
memberhaha_c28-Jan-13 23:18 
GeneralRe: In win7 ,how to modify registry with Non - administrator permission Pin
Jochen Arndt28-Jan-13 23:33
memberJochen 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 Pin
Flaviu228-Jan-13 20:30
memberFlaviu228-Jan-13 20:30 
AnswerRe: Get CBitmap from CDib Pin
Jochen Arndt28-Jan-13 21:31
memberJochen Arndt28-Jan-13 21:31 
QuestionAbout virtual function Pin
EhtishamArshad28-Jan-13 19:40
groupEhtishamArshad28-Jan-13 19:40 
AnswerRe: About virtual function Pin
jibesh28-Jan-13 19:51
memberjibesh28-Jan-13 19:51 
GeneralRe: About virtual function Pin
EhtishamArshad28-Jan-13 22:32
groupEhtishamArshad28-Jan-13 22:32 
AnswerRe: About virtual function Pin
Richard MacCutchan28-Jan-13 22:48
mvpRichard MacCutchan28-Jan-13 22:48 
Questionwhere can download comment macro? Pin
yu-jian28-Jan-13 15:36
groupyu-jian28-Jan-13 15:36 
AnswerRe: where can download comment macro? Pin
jibesh28-Jan-13 19:48
memberjibesh28-Jan-13 19:48 
QuestionFilter the EN_KILLFOCUS message from CIPAddressCtrl Pin
zhangyoung28-Jan-13 14:53
memberzhangyoung28-Jan-13 14:53 
AnswerRe: Filter the EN_KILLFOCUS message from CIPAddressCtrl Pin
Code-o-mat28-Jan-13 22:27
memberCode-o-mat28-Jan-13 22:27 
GeneralRe: Filter the EN_KILLFOCUS message from CIPAddressCtrl Pin
zhangyoung29-Jan-13 3:04
memberzhangyoung29-Jan-13 3:04 
GeneralRe: Filter the EN_KILLFOCUS message from CIPAddressCtrl Pin
Code-o-mat29-Jan-13 3:13
memberCode-o-mat29-Jan-13 3:13 
QuestionHow to create an uncompressed avi file from a matrix of data? Pin
Kiran Satish27-Jan-13 16:40
memberKiran Satish27-Jan-13 16:40 
QuestionRe: How to create an uncompressed avi file from a matrix of data? Pin
CPallini27-Jan-13 22:38
mvpCPallini27-Jan-13 22:38 
AnswerRe: How to create an uncompressed avi file from a matrix of data? Pin
Kiran Satish28-Jan-13 4:42
memberKiran Satish28-Jan-13 4:42 
AnswerRe: How to create an uncompressed avi file from a matrix of data? Pin
Chris Losinger28-Jan-13 5:10
memberChris Losinger28-Jan-13 5:10 
AnswerRe: How to create an uncompressed avi file from a matrix of data? Pin
Vaclav_Sal28-Jan-13 9:50
memberVaclav_Sal28-Jan-13 9:50 

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.


Advertise | Privacy | Cookies | Terms of Service
Web04-2016 | 2.8.180618.1 | Last Updated 18 Jun 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid