Click here to Skip to main content
15,916,838 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionString Help Pin
Anonymous11-Oct-05 5:59
Anonymous11-Oct-05 5:59 
QuestionRe: String Help Pin
David Crow11-Oct-05 6:06
David Crow11-Oct-05 6:06 
AnswerRe: String Help Pin
icabod11-Oct-05 6:09
icabod11-Oct-05 6:09 
AnswerRe: String Help Pin
John M. Drescher11-Oct-05 6:16
John M. Drescher11-Oct-05 6:16 
QuestionCatch program termination Pin
status()11-Oct-05 5:56
status()11-Oct-05 5:56 
QuestionConnect to Registry Pin
Mila02511-Oct-05 4:06
Mila02511-Oct-05 4:06 
AnswerRe: Connect to Registry Pin
RadioOpa11-Oct-05 4:35
RadioOpa11-Oct-05 4:35 
AnswerRe: Connect to Registry Pin
Roger Stoltz11-Oct-05 5:05
Roger Stoltz11-Oct-05 5:05 
Are you really trying to connect to a registry on a remote machine running WinXP Home Edition?
If 'yes' then forget about it since the function to use is the one you mentioned, ::RegConnectRegistry, and will always fail on the Home Edition.
What you perhaps can do is write an application that acts as a server that you can connect to using sockets and develop your own protocol for reading and/or writing the registry on the remote machine.

If you are trying to read and/or write the local registry you should use ::RegOpenKeyEx or ::RegCreateKeyEx instead.

However, in either case, depending on what access rights the user have running the application that desires access to the registry, the operation might fail due to lack of access rights.

--
Roger
QuestionUnicode presentation CEdit Pin
RadioOpa11-Oct-05 2:59
RadioOpa11-Oct-05 2:59 
AnswerRe: Unicode presentation CEdit Pin
RadioOpa11-Oct-05 21:17
RadioOpa11-Oct-05 21:17 
QuestionMultiByteToWideCHar Help? Pin
Amit j Patil11-Oct-05 2:35
Amit j Patil11-Oct-05 2:35 
AnswerRe: MultiByteToWideCHar Help? Pin
nm_11411-Oct-05 11:30
nm_11411-Oct-05 11:30 
GeneralRe: MultiByteToWideCHar Help? Pin
Amit j Patil12-Oct-05 21:05
Amit j Patil12-Oct-05 21:05 
QuestionPossible CDC issue Pin
wdhough11-Oct-05 1:43
wdhough11-Oct-05 1:43 
QuestionDiff between CFile and CStdioFile Pin
karmendra_js11-Oct-05 1:35
karmendra_js11-Oct-05 1:35 
AnswerRe: Diff between CFile and CStdioFile Pin
ThatsAlok11-Oct-05 1:46
ThatsAlok11-Oct-05 1:46 
AnswerRe: Diff between CFile and CStdioFile Pin
Roger Stoltz11-Oct-05 1:54
Roger Stoltz11-Oct-05 1:54 
QuestionConvert bmp to Text Pin
sonu25211-Oct-05 0:39
sonu25211-Oct-05 0:39 
AnswerRe: Convert bmp to Text Pin
Roger Stoltz11-Oct-05 1:30
Roger Stoltz11-Oct-05 1:30 
QuestionRepeated calling of a function Pin
nripun11-Oct-05 0:30
nripun11-Oct-05 0:30 
AnswerRe: Repeated calling of a function Pin
dharani11-Oct-05 0:46
dharani11-Oct-05 0:46 
GeneralRe: Repeated calling of a function Pin
sonu25211-Oct-05 1:14
sonu25211-Oct-05 1:14 
GeneralRe: Repeated calling of a function Pin
ky_rerun11-Oct-05 7:51
ky_rerun11-Oct-05 7:51 
AnswerRe: Repeated calling of a function Pin
Bob Stanneveld11-Oct-05 1:53
Bob Stanneveld11-Oct-05 1:53 
AnswerRe: Repeated calling of a function Pin
Tim Smith11-Oct-05 3:58
Tim Smith11-Oct-05 3: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.