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

C / C++ / MFC

 
GeneralRe: RegSetValueEx setting a strange value Pin
locoone21-Dec-06 13:13
locoone21-Dec-06 13:13 
QuestionRe: RegSetValueEx setting a strange value Pin
Johan Pretorius21-Dec-06 13:17
Johan Pretorius21-Dec-06 13:17 
AnswerRe: RegSetValueEx setting a strange value Pin
locoone21-Dec-06 13:20
locoone21-Dec-06 13:20 
GeneralRe: RegSetValueEx setting a strange value Pin
Johan Pretorius21-Dec-06 13:43
Johan Pretorius21-Dec-06 13:43 
GeneralRe: RegSetValueEx setting a strange value Pin
locoone21-Dec-06 13:48
locoone21-Dec-06 13:48 
GeneralRe: RegSetValueEx setting a strange value Pin
Johan Pretorius21-Dec-06 13:53
Johan Pretorius21-Dec-06 13:53 
GeneralRe: RegSetValueEx setting a strange value Pin
Mark Salsbery21-Dec-06 13:59
Mark Salsbery21-Dec-06 13:59 
GeneralRe: RegSetValueEx setting a strange value Pin
Mark Salsbery21-Dec-06 14:13
Mark Salsbery21-Dec-06 14:13 
Here's a tip, for what it's worth.

With CString objects, unless you need to change the buffer directly, it's safer to use
the const accessor methods (the LPCSTR cast or the GetString() method.
CString::GetBuffer() is over-used (when not necessary) IMO Smile | :)

(const unsigned char *)c.GetString(),
instead of
(const unsigned char *)c.GetBuffer(0),

Mark

QuestionControlling a Command Line from a GUI Pin
g51ngh21-Dec-06 8:06
g51ngh21-Dec-06 8:06 
AnswerRe: Controlling a Command Line from a GUI Pin
led mike21-Dec-06 10:15
led mike21-Dec-06 10:15 
QuestionClear screen Pin
ggreekggod21-Dec-06 7:46
ggreekggod21-Dec-06 7:46 
AnswerRe: Clear screen Pin
Maximilien21-Dec-06 7:54
Maximilien21-Dec-06 7:54 
GeneralRe: Clear screen Pin
ggreekggod21-Dec-06 8:26
ggreekggod21-Dec-06 8:26 
GeneralRe: Clear screen Pin
David Crow21-Dec-06 8:55
David Crow21-Dec-06 8:55 
QuestionSaving CObArray objects containing CObArray objects Pin
Ben Aldhouse21-Dec-06 6:27
Ben Aldhouse21-Dec-06 6:27 
QuestionRe: Saving CObArray objects containing CObArray objects Pin
prasad_som21-Dec-06 18:58
prasad_som21-Dec-06 18:58 
AnswerRe: Saving CObArray objects containing CObArray objects [modified] Pin
Ben Aldhouse22-Dec-06 3:18
Ben Aldhouse22-Dec-06 3:18 
GeneralRe: Saving CObArray objects containing CObArray objects Pin
Ben Aldhouse22-Dec-06 3:28
Ben Aldhouse22-Dec-06 3:28 
AnswerRe: Saving CObArray objects containing CObArray objects Pin
Ben Aldhouse23-Mar-07 21:37
Ben Aldhouse23-Mar-07 21:37 
QuestionAssign file type to an application in Windows Pin
VeRtRX21-Dec-06 5:27
VeRtRX21-Dec-06 5:27 
AnswerRe: Assign file type to an application in Windows Pin
David Crow21-Dec-06 5:48
David Crow21-Dec-06 5:48 
AnswerRe: Assign file type to an application in Windows Pin
James R. Twine21-Dec-06 8:58
James R. Twine21-Dec-06 8:58 
AnswerRe: Assign file type to an application in Windows Pin
Cristian Amarie26-Dec-06 6:45
Cristian Amarie26-Dec-06 6:45 
Questioncreate a constructor for a struct Pin
cy163@hotmail.com21-Dec-06 5:07
cy163@hotmail.com21-Dec-06 5:07 
AnswerRe: create a constructor for a struct Pin
James R. Twine21-Dec-06 5:12
James R. Twine21-Dec-06 5:12 

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.