Click here to Skip to main content
15,888,286 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to do? Pin
CPallini8-Feb-10 23:27
mveCPallini8-Feb-10 23:27 
JokeRe: How to do? Pin
john56328-Feb-10 23:50
john56328-Feb-10 23:50 
GeneralRe: How to do? Pin
ThatsAlok9-Feb-10 0:48
ThatsAlok9-Feb-10 0:48 
AnswerRe: How to do? Pin
Kushagra Tiwari8-Feb-10 23:31
Kushagra Tiwari8-Feb-10 23:31 
AnswerRe: How to do? Pin
Iain Clarke, Warrior Programmer8-Feb-10 23:35
Iain Clarke, Warrior Programmer8-Feb-10 23:35 
AnswerRe: How to do? Pin
Maximilien9-Feb-10 0:55
Maximilien9-Feb-10 0:55 
AnswerRe: How to do? Pin
Rozis10-Feb-10 14:29
Rozis10-Feb-10 14:29 
Questionhow to read windows registry Pin
santhosh-padamatinti8-Feb-10 23:03
santhosh-padamatinti8-Feb-10 23:03 
Hi to all,

I am using windows registry. please look the following.

const char* subkey ="Software\\Microsoft\\Windows NT\\CurrentVersion";

	  if(RegOpenKey(HKEY_LOCAL_MACHINE,subkey,&hKey)== ERROR_SUCCESS)
	  {
		  cout<<"register is opened";
	  }
	  else
	  {
		  cout<<"still not working";
	  }



Above one is working correctly. And also displaying the message correctly.

But when subkey i written like follows it is not working.

const char* subkey ="Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows Messaging   Subsystem";



I am not getting the exact problem please address the solution....



Thanks in advance.....
To invent something, you need a mountain of junk in your mind.
---------------------Thomas alva edison

AnswerRe: how to read windows registry Pin
santhosh-padamatinti8-Feb-10 23:22
santhosh-padamatinti8-Feb-10 23:22 
GeneralRe: how to read windows registry Pin
ThatsAlok8-Feb-10 23:58
ThatsAlok8-Feb-10 23:58 
AnswerRe: how to read windows registry Pin
David Crow9-Feb-10 3:17
David Crow9-Feb-10 3:17 
QuestionHow to create Wrapper class in c++ Pin
jadhavjitendrar8-Feb-10 22:29
jadhavjitendrar8-Feb-10 22:29 
AnswerRe: How to create Wrapper class in c++ Pin
CPallini8-Feb-10 22:35
mveCPallini8-Feb-10 22:35 
GeneralRe: How to create Wrapper class in c++ Pin
jadhavjitendrar8-Feb-10 22:38
jadhavjitendrar8-Feb-10 22:38 
GeneralRe: How to create Wrapper class in c++ Pin
CPallini8-Feb-10 23:25
mveCPallini8-Feb-10 23:25 
Questionwhy spy++ can not get the program control Pin
Fired.Fish.Gmail8-Feb-10 20:03
Fired.Fish.Gmail8-Feb-10 20:03 
AnswerRe: why spy++ can not get the program control Pin
Code-o-mat8-Feb-10 23:38
Code-o-mat8-Feb-10 23:38 
QuestionNot getting WM_SysCommand message after maximizing the child window. Pin
Member 41861988-Feb-10 18:55
Member 41861988-Feb-10 18:55 
AnswerRe: Not getting WM_SysCommand message after maximizing the child window. Pin
Richard MacCutchan8-Feb-10 21:25
mveRichard MacCutchan8-Feb-10 21:25 
Questionmemset vs SecureZeroMemory Pin
Adam Roderick J8-Feb-10 18:30
Adam Roderick J8-Feb-10 18:30 
AnswerRe: memcpy vs SecureZeroMemory Pin
KingsGambit8-Feb-10 18:39
KingsGambit8-Feb-10 18:39 
GeneralRe: memcpy vs SecureZeroMemory Pin
Adam Roderick J8-Feb-10 18:54
Adam Roderick J8-Feb-10 18:54 
GeneralRe: memcpy vs SecureZeroMemory Pin
KingsGambit8-Feb-10 18:56
KingsGambit8-Feb-10 18:56 
AnswerRe: memset vs SecureZeroMemory Pin
«_Superman_»8-Feb-10 18:44
professional«_Superman_»8-Feb-10 18:44 
GeneralRe: memset vs SecureZeroMemory Pin
Adam Roderick J8-Feb-10 18:52
Adam Roderick J8-Feb-10 18:52 

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.