Click here to Skip to main content
15,917,456 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCbutton Pin
act_x21-Oct-03 5:30
act_x21-Oct-03 5:30 
GeneralRe: Cbutton Pin
Steve S21-Oct-03 5:41
Steve S21-Oct-03 5:41 
GeneralRe: Cbutton Pin
act_x21-Oct-03 5:48
act_x21-Oct-03 5:48 
GeneralRe: Cbutton Pin
John R. Shaw21-Oct-03 17:28
John R. Shaw21-Oct-03 17:28 
GeneralRe: Cbutton Pin
DaFrawg26-Oct-03 3:09
DaFrawg26-Oct-03 3:09 
QuestionLPTSTR? Pin
badsmonkey21-Oct-03 5:16
badsmonkey21-Oct-03 5:16 
AnswerRe: LPTSTR? Pin
Steve S21-Oct-03 5:39
Steve S21-Oct-03 5:39 
AnswerRe: LPTSTR? Pin
badsmonkey21-Oct-03 5:55
badsmonkey21-Oct-03 5:55 
Sorry, I should have been more clear with my first post, I was in a hurry. I thought the problem was most likely with how I'm using RegQueryValueEx. Here's what my code looks like:

queryD = RegQueryValueEx(curKey, names[m].c_str(), NULL, &datatype, (LPBYTE)buffer, &bufferlength);

where: curKey = open HKEY, names = std::vector{std::string}, datatype = DWORD, buffer = TCHAR[], and bufferlength = DWORD

This compiles and runs, but does not successfully open any of the keys that it is passed, the return value is 234. As a longtime *nix programmer just making the move to MS programming, I'm starting to get frustrated with this. Any help you could offer would be greatly appreciated.
GeneralRe: LPTSTR? Pin
David Crow21-Oct-03 8:14
David Crow21-Oct-03 8:14 
GeneralRe: LPTSTR? Pin
badsmonkey21-Oct-03 9:03
badsmonkey21-Oct-03 9:03 
GeneralRe: LPTSTR? Pin
David Crow21-Oct-03 9:40
David Crow21-Oct-03 9:40 
GeneralRe: LPTSTR? Pin
Michael Dunn21-Oct-03 9:26
sitebuilderMichael Dunn21-Oct-03 9:26 
GeneralHi ! How can we call .Net Web Service method from C++ Client Pin
Abhishek Avasthi21-Oct-03 4:56
Abhishek Avasthi21-Oct-03 4:56 
GeneralRe: Hi ! How can we call .Net Web Service method from C++ Client Pin
Xiangyang Liu 刘向阳21-Oct-03 5:13
Xiangyang Liu 刘向阳21-Oct-03 5:13 
GeneralRe: Hi ! How can we call .Net Web Service method from C++ Client Pin
igor196021-Oct-03 11:42
igor196021-Oct-03 11:42 
GeneralRe: Hi ! How can we call .Net Web Service method from C++ Client Pin
Abhishek Avasthi23-Oct-03 2:10
Abhishek Avasthi23-Oct-03 2:10 
GeneralRe: Hi ! How can we call .Net Web Service method from C++ Client Pin
Abhishek Avasthi23-Oct-03 2:10
Abhishek Avasthi23-Oct-03 2:10 
Questionwhere i can find the protocol of mms? Pin
coolcarlos21-Oct-03 4:02
coolcarlos21-Oct-03 4:02 
Questionwhere can i find the protocol of mms? Pin
coolcarlos21-Oct-03 4:01
coolcarlos21-Oct-03 4:01 
AnswerRe: where can i find the protocol of mms? Pin
David Crow21-Oct-03 8:17
David Crow21-Oct-03 8:17 
GeneralInclude directories - Visual C++ - Pin
Anonymous21-Oct-03 3:41
Anonymous21-Oct-03 3:41 
GeneralRe: Include directories - Visual C++ - Pin
Steve S21-Oct-03 5:36
Steve S21-Oct-03 5:36 
GeneralRe: Include directories - Visual C++ - Pin
Atif Mushtaq21-Oct-03 23:37
Atif Mushtaq21-Oct-03 23:37 
GeneralRe: Include directories - Visual C++ - Pin
Anonymous22-Oct-03 22:13
Anonymous22-Oct-03 22:13 
QuestionStringReader and XmlTextReader MFC equivalents? Pin
LukeV21-Oct-03 3:07
LukeV21-Oct-03 3:07 

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.