Click here to Skip to main content
15,891,184 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Sending KeyStroke Pin
Rajesh R Subramanian15-Mar-10 2:05
professionalRajesh R Subramanian15-Mar-10 2:05 
QuestionRe: Sending KeyStroke Pin
David Crow15-Mar-10 6:05
David Crow15-Mar-10 6:05 
QuestionCAsyncSocket - socket error Pin
diptipanchal15-Mar-10 0:33
diptipanchal15-Mar-10 0:33 
AnswerRe: CAsyncSocket - socket error Pin
Rozis15-Mar-10 2:58
Rozis15-Mar-10 2:58 
AnswerRe: CAsyncSocket - socket error Pin
Moak15-Mar-10 4:05
Moak15-Mar-10 4:05 
QuestionRemove text from image Pin
Game-point14-Mar-10 22:39
Game-point14-Mar-10 22:39 
QuestionHow to read clsid from registry in MFC Pin
rahul.kulshreshtha14-Mar-10 22:35
rahul.kulshreshtha14-Mar-10 22:35 
AnswerRe: How to read clsid from registry in MFC Pin
«_Superman_»14-Mar-10 23:11
professional«_Superman_»14-Mar-10 23:11 
The following code works successfully -
::RegOpenKeyEx(HKEY_CLASSES_ROOT, _T("CLSID\\{00020000-0000-0000-C000-000000000046}"), 0, KEY_READ, &hKey);

It will not work if I give KEY_ALL_ACCESS instead of KEY_READ.
The return value says "Access Denied" (5).
For KEY_ALL_ACCESS to work I have to run my program as administrator.

Check the return value of RegOpenKeyEx to determine the cause of failure.
«_Superman
I love work. It gives me something to do between weekends.

Microsoft MVP (Visual C++)

GeneralRe: How to read clsid from registry in MFC Pin
rahul.kulshreshtha15-Mar-10 1:14
rahul.kulshreshtha15-Mar-10 1:14 
Questionoffice viewer component! help me! Pin
sy111114-Mar-10 21:35
sy111114-Mar-10 21:35 
AnswerRe: office viewer component! help me! Pin
ThatsAlok15-Mar-10 1:51
ThatsAlok15-Mar-10 1:51 
QuestionReading from a .ini file Pin
jannathali14-Mar-10 21:09
jannathali14-Mar-10 21:09 
AnswerRe: Reading from a .ini file Pin
CPallini14-Mar-10 21:16
mveCPallini14-Mar-10 21:16 
AnswerRe: Reading from a .ini file Pin
SandipG 14-Mar-10 21:39
SandipG 14-Mar-10 21:39 
GeneralRe: Reading from a .ini file Pin
jannathali14-Mar-10 22:09
jannathali14-Mar-10 22:09 
GeneralRe: Reading from a .ini file [modified] Pin
SandipG 14-Mar-10 22:19
SandipG 14-Mar-10 22:19 
GeneralRe: Reading from a .ini file Pin
ThatsAlok15-Mar-10 1:50
ThatsAlok15-Mar-10 1:50 
AnswerRe: Reading from a .ini file Pin
Iain Clarke, Warrior Programmer14-Mar-10 22:30
Iain Clarke, Warrior Programmer14-Mar-10 22:30 
QuestionPlease chk there is some mistake? Pin
Le@rner14-Mar-10 19:48
Le@rner14-Mar-10 19:48 
AnswerRe: Please chk there is some mistake? Pin
Eugen Podsypalnikov14-Mar-10 20:54
Eugen Podsypalnikov14-Mar-10 20:54 
QuestionRe: Please chk there is some mistake? Pin
CPallini14-Mar-10 21:54
mveCPallini14-Mar-10 21:54 
JokeRe: Please chk there is some mistake? Pin
ThatsAlok15-Mar-10 1:48
ThatsAlok15-Mar-10 1:48 
JokeRe: Please chk there is some mistake? Pin
CPallini15-Mar-10 1:57
mveCPallini15-Mar-10 1:57 
GeneralRe: Please chk there is some mistake? Pin
Tim Craig15-Mar-10 8:48
Tim Craig15-Mar-10 8:48 
QuestionRe: Please chk there is some mistake? Pin
David Crow15-Mar-10 2:55
David Crow15-Mar-10 2:55 

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.