Click here to Skip to main content
15,895,667 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Convert Strings Pin
Nibu babu thomas25-Oct-08 23:50
Nibu babu thomas25-Oct-08 23:50 
AnswerRe: Convert Strings Pin
Cedric Moonen26-Oct-08 0:20
Cedric Moonen26-Oct-08 0:20 
GeneralRe: Convert Strings Pin
Iain Clarke, Warrior Programmer26-Oct-08 3:15
Iain Clarke, Warrior Programmer26-Oct-08 3:15 
GeneralRe: Convert Strings Pin
Cedric Moonen26-Oct-08 4:52
Cedric Moonen26-Oct-08 4:52 
GeneralConvert string re asked Pin
akshay.is.gr826-Oct-08 3:58
akshay.is.gr826-Oct-08 3:58 
Question[URGENT]: RegOpenKeyEx() fails to open the specific key. Pin
Supriya Tonape25-Oct-08 11:38
Supriya Tonape25-Oct-08 11:38 
AnswerRe: [URGENT]: RegOpenKeyEx() fails to open the specific key. Pin
Mark Salsbery25-Oct-08 12:10
Mark Salsbery25-Oct-08 12:10 
GeneralRe: [URGENT]: RegOpenKeyEx() fails to open the specific key. Pin
Supriya Tonape25-Oct-08 12:25
Supriya Tonape25-Oct-08 12:25 
Yes I am an Admin on the machine I am running this query/app..

Here is a code :

//Attempt to open the key on the target.
int retval = RegOpenKeyEx(
hkRegHive, // Hive of the RegKey
pszRegFullKeyPath, // Full path of the key excluding Hive name
0, // Reserved
KEY_READ | (Node32Bit ? KEY_WOW64_64KEY : 0), // Access rights to the key
&hkScanKey); // Handle to opened key

if(retval != NSCOK)
return FALSE;

Ouput : retval = 5

regards,
Supriya Tonape.
GeneralRe: [URGENT]: RegOpenKeyEx() fails to open the specific key. Pin
Mark Salsbery25-Oct-08 12:29
Mark Salsbery25-Oct-08 12:29 
GeneralRe: [URGENT]: RegOpenKeyEx() fails to open the specific key. Pin
Supriya Tonape25-Oct-08 12:36
Supriya Tonape25-Oct-08 12:36 
GeneralRe: [URGENT]: RegOpenKeyEx() fails to open the specific key. Pin
Supriya Tonape25-Oct-08 12:48
Supriya Tonape25-Oct-08 12:48 
GeneralRe: [URGENT]: RegOpenKeyEx() fails to open the specific key. Pin
Mark Salsbery25-Oct-08 13:02
Mark Salsbery25-Oct-08 13:02 
GeneralRe: [URGENT]: RegOpenKeyEx() fails to open the specific key. Pin
Supriya Tonape25-Oct-08 13:57
Supriya Tonape25-Oct-08 13:57 
AnswerSTOP WITH THE 'URGENT!' Pin
leckey25-Oct-08 15:09
leckey25-Oct-08 15:09 
QuestionToolbar-like button Pin
Moak25-Oct-08 10:23
Moak25-Oct-08 10:23 
AnswerRe: Toolbar-like button Pin
Mark Salsbery25-Oct-08 10:46
Mark Salsbery25-Oct-08 10:46 
QuestionRe: Toolbar-like button Pin
Moak25-Oct-08 11:11
Moak25-Oct-08 11:11 
AnswerRe: Toolbar-like button Pin
Mark Salsbery25-Oct-08 11:33
Mark Salsbery25-Oct-08 11:33 
GeneralRe: Toolbar-like button Pin
Moak25-Oct-08 12:38
Moak25-Oct-08 12:38 
QuestionVC++ MFC MDI Application with extended ListCtrl and base class for View Pin
KK31525-Oct-08 3:11
KK31525-Oct-08 3:11 
AnswerRe: VC++ MFC MDI Application with extended ListCtrl and base class for View Pin
Iain Clarke, Warrior Programmer25-Oct-08 3:41
Iain Clarke, Warrior Programmer25-Oct-08 3:41 
GeneralRe: VC++ MFC MDI Application with extended ListCtrl and base class for View Pin
KK31525-Oct-08 4:42
KK31525-Oct-08 4:42 
QuestionMultiple Root Nodes in a CTreeCtrl problem [modified](I have resolved the problem) Pin
Dhiraj kumar Saini25-Oct-08 1:26
Dhiraj kumar Saini25-Oct-08 1:26 
AnswerRe: Multiple Root Nodes in a CTreeCtrl problem Pin
Dhiraj kumar Saini25-Oct-08 1:45
Dhiraj kumar Saini25-Oct-08 1:45 
QuestionCRichEditCtrl and 'what you see is what you get' problem Pin
Newbie0025-Oct-08 1:15
Newbie0025-Oct-08 1:15 

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.