Click here to Skip to main content
14,662,169 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What is the difference between Parameter and Argument? Pin
nowrocktheworld8-Sep-09 3:01
Membernowrocktheworld8-Sep-09 3:01 
GeneralRe: What is the difference between Parameter and Argument? Pin
dplong8-Sep-09 5:03
Memberdplong8-Sep-09 5:03 
GeneralRe: What is the difference between Parameter and Argument? Pin
nowrocktheworld8-Sep-09 2:30
Membernowrocktheworld8-Sep-09 2:30 
AnswerRe: What is the difference between Parameter and Argument? Pin
Member 419459315-Sep-09 4:54
MemberMember 419459315-Sep-09 4:54 
QuestionWindow Message Pin
aurelcly7-Sep-09 3:46
Memberaurelcly7-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
MemberMsmVc7-Sep-09 2:43 
QuestionRegOpenKeyEx() api issue. Pin
birajendu7-Sep-09 2:21
Memberbirajendu7-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
Memberbirajendu7-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
Memberbirajendu7-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
Memberbirajendu7-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
Memberkrmed8-Sep-09 0:52 
QuestionBlinking cursor Pin
susanne17-Sep-09 1:58
Membersusanne17-Sep-09 1:58 
AnswerRe: Blinking cursor Pin
Cedric Moonen7-Sep-09 3:18
MemberCedric Moonen7-Sep-09 3:18 
GeneralRe: Blinking cursor Pin
susanne17-Sep-09 3:34
Membersusanne17-Sep-09 3:34 
GeneralRe: Blinking cursor Pin
Iain Clarke, Warrior Programmer7-Sep-09 4:32
MemberIain Clarke, Warrior Programmer7-Sep-09 4:32 
GeneralRe: Blinking cursor Pin
susanne18-Sep-09 23:38
Membersusanne18-Sep-09 23:38 
Questionbyte alignment issue? Writing struct to file in binary mode. [modified] Pin
Sauce!7-Sep-09 1:57
MemberSauce!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
MemberSauce!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.