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

C / C++ / MFC

 
GeneralRe: mail server Pin
Muthukumar22-Jun-04 18:13
Muthukumar22-Jun-04 18:13 
GeneralRe: mail server Pin
Anonymous22-Jun-04 19:23
Anonymous22-Jun-04 19:23 
GeneralRe: mail server Pin
Paul Ranson23-Jun-04 5:05
Paul Ranson23-Jun-04 5:05 
GeneralHyperlink Pin
x-trate22-Jun-04 13:18
x-trate22-Jun-04 13:18 
GeneralRe: Hyperlink Pin
Graham Bradshaw22-Jun-04 14:13
Graham Bradshaw22-Jun-04 14:13 
Generalproblems with ShowWindow() Pin
AmericanBacon22-Jun-04 12:26
AmericanBacon22-Jun-04 12:26 
GeneralRe: problems with ShowWindow() Pin
gamitech22-Jun-04 12:38
gamitech22-Jun-04 12:38 
GeneralRe: how to cast cstring into char*? Pin
James R. Twine22-Jun-04 11:05
James R. Twine22-Jun-04 11:05 
Nitron wrote:
If there is no need to change the buffer, then it should be explicitly const [...]

   Remember that you may be dealing with a bad implemention of existing code, where a function might take a non-const pointer even though it does not modify it or its contents.  Developers that get too comfortable with string objects can often find themselves in situations like that.

   The explicit cast to LPCTSTR is unnecessary; CString::operator LPCTSTR() takes care of that for you.

   Peace!

-=- James
Tip for SUV winter driving survival: "Professional Driver on Closed Course" does not mean "your Dumb Ass on a Public Road"!
Articles -- Products: Delete FXP Files & Check Favorites

GeneralChange Icon in Dialog Titlebar Pin
YooVeeAy22-Jun-04 11:00
YooVeeAy22-Jun-04 11:00 
GeneralRe: Change Icon in Dialog Titlebar Pin
bneacetp22-Jun-04 13:49
bneacetp22-Jun-04 13:49 
GeneralCPropertySheet::OnInitDialog() exception Pin
Richard John22-Jun-04 10:57
Richard John22-Jun-04 10:57 
GeneralRe: CPropertySheet::OnInitDialog() exception Pin
bangiev5-May-11 5:20
bangiev5-May-11 5:20 
GeneralBringing desktop window to the top without taking focus Pin
casid22-Jun-04 9:47
casid22-Jun-04 9:47 
GeneralRe: Bringing desktop window to the top without taking focus Pin
casid22-Jun-04 9:49
casid22-Jun-04 9:49 
Generalconcatenation Pin
RabiaRabia22-Jun-04 9:24
RabiaRabia22-Jun-04 9:24 
GeneralRe: concatenation Pin
ov22-Jun-04 9:30
ov22-Jun-04 9:30 
GeneralRe: concatenation Pin
gamitech22-Jun-04 12:44
gamitech22-Jun-04 12:44 
QuestionHow to remove this error Pin
RabiaRabia22-Jun-04 9:21
RabiaRabia22-Jun-04 9:21 
AnswerRe: How to remove this error Pin
ov22-Jun-04 9:32
ov22-Jun-04 9:32 
GeneralFeasability Question: C++ / UDP / MSSQL Pin
brian222222-Jun-04 9:07
brian222222-Jun-04 9:07 
GeneralRe: Feasability Question: C++ / UDP / MSSQL Pin
palbano22-Jun-04 9:47
palbano22-Jun-04 9:47 
Generalsaving modified BMPs Pin
TFB22-Jun-04 8:32
TFB22-Jun-04 8:32 
Questionhow to cast cstring into char*? Pin
vividwu22-Jun-04 7:32
vividwu22-Jun-04 7:32 
AnswerRe: how to cast cstring into char*? Pin
David Crow22-Jun-04 7:35
David Crow22-Jun-04 7:35 
GeneralRe: how to cast cstring into char*? Pin
Nitron22-Jun-04 8:04
Nitron22-Jun-04 8:04 

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.