Click here to Skip to main content
15,889,877 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CEdit Control Pin
Hamid_RT14-Apr-08 19:54
Hamid_RT14-Apr-08 19:54 
GeneralCString convertion problem Pin
Max++13-Apr-08 1:27
Max++13-Apr-08 1:27 
GeneralRe: CString convertion problem Pin
Joseph Marzbani13-Apr-08 2:16
Joseph Marzbani13-Apr-08 2:16 
GeneralRe: CString convertion problem Pin
Cedric Moonen13-Apr-08 2:19
Cedric Moonen13-Apr-08 2:19 
GeneralRe: CString convertion problem Pin
Joseph Marzbani13-Apr-08 2:25
Joseph Marzbani13-Apr-08 2:25 
GeneralRe: CString convertion problem Pin
Cedric Moonen13-Apr-08 2:31
Cedric Moonen13-Apr-08 2:31 
GeneralRe: CString convertion problem Pin
Joseph Marzbani13-Apr-08 2:41
Joseph Marzbani13-Apr-08 2:41 
QuestionRe: CString convertion problem Pin
David Crow14-Apr-08 4:40
David Crow14-Apr-08 4:40 
Usef Marzbani wrote:
Now, would U explain why please.


Because it returns a pointer to the internal character buffer of the CString object, which is obviously not necessary. The returned LPTSTR is not const and thus direct modification of the CString contents are allowed. Why would you deem such potential modification as acceptable?

"Love people and use things, not love things and use people." - Unknown

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


GeneralRe: CString convertion problem Pin
Cedric Moonen13-Apr-08 2:24
Cedric Moonen13-Apr-08 2:24 
GeneralRe: CString convertion problem Pin
Max++13-Apr-08 16:07
Max++13-Apr-08 16:07 
GeneralRe: CString convertion problem Pin
Cedric Moonen13-Apr-08 20:36
Cedric Moonen13-Apr-08 20:36 
GeneralRe: CString convertion problem Pin
CPallini13-Apr-08 5:20
mveCPallini13-Apr-08 5:20 
QuestionRe: CString convertion problem Pin
David Crow14-Apr-08 4:43
David Crow14-Apr-08 4:43 
GeneralRe: CString convertion problem Pin
Hamid_RT14-Apr-08 19:55
Hamid_RT14-Apr-08 19:55 
Generalabout the error in just-in-time Pin
wendyyue12-Apr-08 22:13
wendyyue12-Apr-08 22:13 
AnswerRe: about the error in just-in-time Pin
Bram van Kampen13-Apr-08 6:01
Bram van Kampen13-Apr-08 6:01 
GeneralAudio Processing Questions (2) Pin
Akin Ocal12-Apr-08 21:24
Akin Ocal12-Apr-08 21:24 
General#pragma comment lib Pin
George_George12-Apr-08 21:03
George_George12-Apr-08 21:03 
GeneralRe: #pragma comment lib Pin
Randor 12-Apr-08 21:35
professional Randor 12-Apr-08 21:35 
GeneralRe: #pragma comment lib Pin
George_George12-Apr-08 21:36
George_George12-Apr-08 21:36 
GeneralStackWalk 32 bit Version of StakWalk64 Pin
ForNow12-Apr-08 16:17
ForNow12-Apr-08 16:17 
GeneralRe: StackWalk 32 bit Version of StakWalk64 Pin
Randor 12-Apr-08 19:48
professional Randor 12-Apr-08 19:48 
GeneralRe: StackWalk 32 bit Version of StakWalk64 Pin
ForNow12-Apr-08 20:00
ForNow12-Apr-08 20:00 
GeneralRe: StackWalk 32 bit Version of StakWalk64 Pin
Randor 12-Apr-08 20:38
professional Randor 12-Apr-08 20:38 
GeneralRe: StackWalk 32 bit Version of StakWalk64 Pin
ForNow12-Apr-08 21:09
ForNow12-Apr-08 21:09 

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.