Click here to Skip to main content
15,903,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can i get text from CRichEditCtrl Pin
york52810-Dec-08 17:57
york52810-Dec-08 17:57 
QuestionHow to write(or create) subkey under a key which only by modified by the Admin? Pin
kcynic5-Dec-08 18:55
kcynic5-Dec-08 18:55 
AnswerRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
Randor 5-Dec-08 20:36
professional Randor 5-Dec-08 20:36 
GeneralRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
kcynic5-Dec-08 20:48
kcynic5-Dec-08 20:48 
GeneralRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
Randor 5-Dec-08 21:28
professional Randor 5-Dec-08 21:28 
GeneralRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
kcynic5-Dec-08 21:31
kcynic5-Dec-08 21:31 
GeneralRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
kcynic6-Dec-08 2:57
kcynic6-Dec-08 2:57 
GeneralRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
Randor 6-Dec-08 9:15
professional Randor 6-Dec-08 9:15 
I should have explained it better. You need to add yourself to the access control list[^] before you can modify that area of the registry.

INFO: Changing Ownership of a Securable Object[^]


kcynic wrote:
DWORD err = RegCreateKeyEx(HKEY_LOCAL_MACHINE,_T("SYSTEM\\CurrentControlSet\\Enum\\Root\\MYKEY"),


Thats a very interesting registry key your attempting to access/write as it controls drivers/filter drivers for system hardware. Are you installing a filter driver or something? That particular registry key can also be used for malware, do you mind me asking why you need to manually modify that registry key? If you are installing a device driver or upper/lower level filter driver then there are better solutions provided for driver installation.

Best Wishes,
-David Delaune
GeneralRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
kcynic6-Dec-08 14:56
kcynic6-Dec-08 14:56 
GeneralRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
Randor 6-Dec-08 15:30
professional Randor 6-Dec-08 15:30 
GeneralRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
kcynic6-Dec-08 16:29
kcynic6-Dec-08 16:29 
Questionworker thread problem.......... Pin
shaina22315-Dec-08 18:26
shaina22315-Dec-08 18:26 
AnswerRe: worker thread problem.......... Pin
Randor 5-Dec-08 20:24
professional Randor 5-Dec-08 20:24 
AnswerRe: worker thread problem.......... Pin
David Crow6-Dec-08 12:38
David Crow6-Dec-08 12:38 
Questiondeleting a file from the application Pin
prithaa5-Dec-08 18:26
prithaa5-Dec-08 18:26 
AnswerRe: deleting a file from the application Pin
kcynic5-Dec-08 19:06
kcynic5-Dec-08 19:06 
AnswerRe: deleting a file from the application Pin
Hamid_RT5-Dec-08 19:34
Hamid_RT5-Dec-08 19:34 
AnswerRe: deleting a file from the application Pin
Jijo.Raj5-Dec-08 23:49
Jijo.Raj5-Dec-08 23:49 
QuestionHelp with a Linked List Program Pin
LilKoopa5-Dec-08 14:21
LilKoopa5-Dec-08 14:21 
AnswerRe: Help with a Linked List Program Pin
Robert.C.Cartaino6-Dec-08 5:21
Robert.C.Cartaino6-Dec-08 5:21 
GeneralRe: Help with a Linked List Program Pin
LilKoopa6-Dec-08 11:15
LilKoopa6-Dec-08 11:15 
GeneralRe: Help with a Linked List Program Pin
Randor 6-Dec-08 12:08
professional Randor 6-Dec-08 12:08 
QuestionRe: Help with a Linked List Program Pin
David Crow6-Dec-08 12:20
David Crow6-Dec-08 12:20 
AnswerRe: Help with a Linked List Program Pin
LilKoopa8-Dec-08 11:13
LilKoopa8-Dec-08 11:13 
QuestionRe: Help with a Linked List Program Pin
David Crow9-Dec-08 2:46
David Crow9-Dec-08 2:46 

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.