Click here to Skip to main content
15,894,740 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Colored Text in win32 window + scroll Pin
led mike13-Mar-08 5:22
led mike13-Mar-08 5:22 
Generalwhy are junk char appended while writing CString to CFile Pin
ptr_Electron13-Mar-08 3:54
ptr_Electron13-Mar-08 3:54 
GeneralRe: why are junk char appended while writing CString to CFile Pin
Rajkumar R13-Mar-08 3:58
Rajkumar R13-Mar-08 3:58 
GeneralRe: why are junk char appended while writing CString to CFile Pin
ptr_Electron13-Mar-08 4:04
ptr_Electron13-Mar-08 4:04 
GeneralRe: why are junk char appended while writing CString to CFile Pin
timpa_work13-Mar-08 5:18
timpa_work13-Mar-08 5:18 
GeneralRe: why are junk char appended while writing CString to CFile Pin
David Crow13-Mar-08 5:43
David Crow13-Mar-08 5:43 
GeneralRe: why are junk char appended while writing CString to CFile Pin
krmed13-Mar-08 5:27
krmed13-Mar-08 5:27 
GeneralRe: why are junk char appended while writing CString to CFile Pin
David Crow13-Mar-08 5:44
David Crow13-Mar-08 5:44 
It is not necessary to call GetBuffer() since Write() is not modifying the string.

"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

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


GeneralRe: why are junk char appended while writing CString to CFile Pin
krmed13-Mar-08 6:15
krmed13-Mar-08 6:15 
GeneralRe: why are junk char appended while writing CString to CFile Pin
David Crow13-Mar-08 7:49
David Crow13-Mar-08 7:49 
GeneralRe: why are junk char appended while writing CString to CFile Pin
Stephen Hewitt13-Mar-08 14:45
Stephen Hewitt13-Mar-08 14:45 
GeneralRe: why are junk char appended while writing CString to CFile Pin
krmed14-Mar-08 0:37
krmed14-Mar-08 0:37 
GeneralRe: why are junk char appended while writing CString to CFile Pin
Stephen Hewitt16-Mar-08 12:58
Stephen Hewitt16-Mar-08 12:58 
GeneralRe: why are junk char appended while writing CString to CFile Pin
krmed17-Mar-08 0:35
krmed17-Mar-08 0:35 
GeneralRe: why are junk char appended while writing CString to CFile Pin
Stephen Hewitt17-Mar-08 13:11
Stephen Hewitt17-Mar-08 13:11 
GeneralRe: why are junk char appended while writing CString to CFile Pin
David Crow13-Mar-08 7:48
David Crow13-Mar-08 7:48 
GeneralRe: why are junk char appended while writing CString to CFile Pin
CPallini13-Mar-08 3:59
mveCPallini13-Mar-08 3:59 
GeneralRe: why are junk char appended while writing CString to CFile Pin
ptr_Electron13-Mar-08 4:08
ptr_Electron13-Mar-08 4:08 
GeneralRe: why are junk char appended while writing CString to CFile Pin
CPallini13-Mar-08 4:21
mveCPallini13-Mar-08 4:21 
GeneralRe: why are junk char appended while writing CString to CFile Pin
Rajkumar R13-Mar-08 4:22
Rajkumar R13-Mar-08 4:22 
GeneralRe: why are junk char appended while writing CString to CFile Pin
ptr_Electron13-Mar-08 4:26
ptr_Electron13-Mar-08 4:26 
GeneralRe: why are junk char appended while writing CString to CFile Pin
Rajkumar R13-Mar-08 4:39
Rajkumar R13-Mar-08 4:39 
GeneralRe: why are junk char appended while writing CString to CFile Pin
Chris Meech13-Mar-08 4:25
Chris Meech13-Mar-08 4:25 
GeneralRe: why are junk char appended while writing CString to CFile Pin
ptr_Electron13-Mar-08 4:36
ptr_Electron13-Mar-08 4:36 
GeneralRe: why are junk char appended while writing CString to CFile Pin
Mark Salsbery13-Mar-08 6:58
Mark Salsbery13-Mar-08 6: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.