Click here to Skip to main content
15,881,600 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What is the difference between Parameter and Argument? Pin
nowrocktheworld8-Sep-09 3:01
nowrocktheworld8-Sep-09 3:01 
GeneralRe: What is the difference between Parameter and Argument? Pin
dplong8-Sep-09 5:03
dplong8-Sep-09 5:03 
GeneralRe: What is the difference between Parameter and Argument? Pin
nowrocktheworld8-Sep-09 2:30
nowrocktheworld8-Sep-09 2:30 
AnswerRe: What is the difference between Parameter and Argument? Pin
Member 419459315-Sep-09 4:54
Member 419459315-Sep-09 4:54 
QuestionWindow Message Pin
aurelcly7-Sep-09 3:46
aurelcly7-Sep-09 3:46 
AnswerRe: Window Message Pin
Richard MacCutchan7-Sep-09 6:08
mveRichard MacCutchan7-Sep-09 6:08 
QuestionpRecordset->Fields->GetItem(); Pin
MsmVc7-Sep-09 2:43
MsmVc7-Sep-09 2:43 
QuestionRegOpenKeyEx() api issue. Pin
birajendu7-Sep-09 2:21
birajendu7-Sep-09 2:21 
I have to open a registry key whose length is more than 255 charecter length. I have called RegOpenKeyEx() function to open the key. But it failed. i came to know that i can call this function recussively to open such keys of long path.But the 1st call only succeed.
code piece:

DWORD status = RegOpenKeyEx(
HKEY_CURRENT_USER ,
L"SOFTWARE\xyz\Connections\<guid>\properties\",
0,
KEY_QUERY_VALUE | KEY_ENUMERATE_SUB_KEYS,
&hKey
);
in next call
DWORD status = RegOpenKeyEx(
hKey ,
L"Fallback\server\item",
0,
KEY_QUERY_VALUE | KEY_ENUMERATE_SUB_KEYS,
subkeyhKey
);

the 2nd call failed. giving error no 6. the actuall key is SOFTWARE\xyz\Connections\<GUID>\properties\Fallback\server\item

can you help me out to fix this....

thanks in advance....

Birajendu
SonicWALL
Bangalore
India

QuestionRe: RegOpenKeyEx() api issue. Pin
CPallini7-Sep-09 2:33
mveCPallini7-Sep-09 2:33 
AnswerRe: RegOpenKeyEx() api issue. Pin
birajendu7-Sep-09 2:39
birajendu7-Sep-09 2:39 
QuestionRe: RegOpenKeyEx() api issue. Pin
CPallini7-Sep-09 2:46
mveCPallini7-Sep-09 2:46 
AnswerRe: RegOpenKeyEx() api issue. Pin
birajendu7-Sep-09 2:52
birajendu7-Sep-09 2:52 
GeneralRe: RegOpenKeyEx() api issue. Pin
CPallini7-Sep-09 2:59
mveCPallini7-Sep-09 2:59 
GeneralRe: RegOpenKeyEx() api issue. Pin
birajendu7-Sep-09 3:46
birajendu7-Sep-09 3:46 
AnswerRe: RegOpenKeyEx() api issue. Pin
Richard MacCutchan7-Sep-09 2:43
mveRichard MacCutchan7-Sep-09 2:43 
AnswerRe: RegOpenKeyEx() api issue. Pin
krmed8-Sep-09 0:52
krmed8-Sep-09 0:52 
QuestionBlinking cursor Pin
susanne17-Sep-09 1:58
susanne17-Sep-09 1:58 
AnswerRe: Blinking cursor Pin
Cedric Moonen7-Sep-09 3:18
Cedric Moonen7-Sep-09 3:18 
GeneralRe: Blinking cursor Pin
susanne17-Sep-09 3:34
susanne17-Sep-09 3:34 
GeneralRe: Blinking cursor Pin
Iain Clarke, Warrior Programmer7-Sep-09 4:32
Iain Clarke, Warrior Programmer7-Sep-09 4:32 
GeneralRe: Blinking cursor Pin
susanne18-Sep-09 23:38
susanne18-Sep-09 23:38 
Questionbyte alignment issue? Writing struct to file in binary mode. [modified] Pin
Sauce!7-Sep-09 1:57
Sauce!7-Sep-09 1:57 
AnswerRe: byte alignment issue? Writing struct to file in binary mode. Pin
CPallini7-Sep-09 2:24
mveCPallini7-Sep-09 2:24 
AnswerRe: byte alignment issue? Writing struct to file in binary mode. Pin
Richard MacCutchan7-Sep-09 2:39
mveRichard MacCutchan7-Sep-09 2:39 
GeneralRe: byte alignment issue? Writing struct to file in binary mode. [modified] Pin
Sauce!7-Sep-09 3:50
Sauce!7-Sep-09 3: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.