Click here to Skip to main content
15,909,652 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Database Syntax Pin
Game-point9-Feb-10 1:23
Game-point9-Feb-10 1:23 
GeneralRe: Database Syntax Pin
gregarion9-Feb-10 1:49
gregarion9-Feb-10 1:49 
GeneralRe: Database Syntax Pin
Richard MacCutchan9-Feb-10 2:40
mveRichard MacCutchan9-Feb-10 2:40 
GeneralRe: Database Syntax Pin
David Crow9-Feb-10 3:14
David Crow9-Feb-10 3:14 
GeneralRe: Database Syntax Pin
gregarion9-Feb-10 3:32
gregarion9-Feb-10 3:32 
AnswerRe: Database Syntax Pin
David Crow9-Feb-10 3:37
David Crow9-Feb-10 3:37 
GeneralRe: Database Syntax Pin
gregarion9-Feb-10 3:38
gregarion9-Feb-10 3:38 
QuestionRe: Database Syntax Pin
David Crow9-Feb-10 3:55
David Crow9-Feb-10 3:55 
AnswerRe: Database Syntax Pin
gregarion9-Feb-10 3:55
gregarion9-Feb-10 3:55 
GeneralRe: Database Syntax Pin
Maximilien9-Feb-10 4:16
Maximilien9-Feb-10 4:16 
GeneralRe: Database Syntax Pin
ThatsAlok9-Feb-10 16:33
ThatsAlok9-Feb-10 16:33 
AnswerRe: Database Syntax Pin
Maximilien9-Feb-10 3:15
Maximilien9-Feb-10 3:15 
QuestionHow to get the language of OS Pin
shiv@nand8-Feb-10 23:22
shiv@nand8-Feb-10 23:22 
AnswerRe: How to get the language of OS Pin
ThatsAlok8-Feb-10 23:57
ThatsAlok8-Feb-10 23:57 
QuestionHow to do? Pin
john56328-Feb-10 23:08
john56328-Feb-10 23:08 
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 

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.