Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhy memcpy not correct! Pin
Hongjun Ge19-Mar-06 7:10
Hongjun Ge19-Mar-06 7:10 
AnswerRe: Why memcpy not correct! Pin
Richard Andrew x6419-Mar-06 7:26
professionalRichard Andrew x6419-Mar-06 7:26 
AnswerRe: Why memcpy not correct! Pin
Richard Andrew x6419-Mar-06 7:31
professionalRichard Andrew x6419-Mar-06 7:31 
GeneralRe: Why memcpy not correct! Pin
Hongjun Ge19-Mar-06 16:05
Hongjun Ge19-Mar-06 16:05 
AnswerRe: Why memcpy not correct! Pin
Richard Andrew x6419-Mar-06 7:41
professionalRichard Andrew x6419-Mar-06 7:41 
GeneralRe: Why memcpy not correct! Pin
bob1697219-Mar-06 8:04
bob1697219-Mar-06 8:04 
GeneralRe: Why memcpy not correct! Pin
Richard Andrew x6419-Mar-06 8:14
professionalRichard Andrew x6419-Mar-06 8:14 
GeneralRe: Why memcpy not correct! Pin
bob1697219-Mar-06 8:26
bob1697219-Mar-06 8:26 
Your fine. I would have to say that I agree they should probably leave their parsing within the confines of CString also. However, they will need to know how to interface code littered with CString with the Win32 API which can be quite a trick sometimes but Paul DiLascia, Joseph Newcomer, and Michael Dunn have all done superb jobs explaining all that.

The newer versions of CString have a Tokenize method but it treats consecutive delimiters as one which can easily lead to corrupt parsing so I would not recommend it at all.


AnswerRe: Why memcpy not correct! Pin
bob1697219-Mar-06 7:58
bob1697219-Mar-06 7:58 
AnswerRe: Why memcpy not correct! Pin
David Crow19-Mar-06 9:15
David Crow19-Mar-06 9:15 
Questioni want to let white transform into black Pin
lowkey5719-Mar-06 4:16
lowkey5719-Mar-06 4:16 
AnswerAnd what's the problem? Pin
normanS19-Mar-06 18:12
normanS19-Mar-06 18:12 
Questionanyone expert in C++ help me please Pin
omegahawk19-Mar-06 3:47
omegahawk19-Mar-06 3:47 
AnswerRe: anyone expert in C++ help me please Pin
Chris Losinger19-Mar-06 4:17
professionalChris Losinger19-Mar-06 4:17 
QuestionMemory leak detection Pin
Waldermort19-Mar-06 1:41
Waldermort19-Mar-06 1:41 
AnswerRe: Memory leak detection Pin
Joe Woodbury19-Mar-06 11:42
professionalJoe Woodbury19-Mar-06 11:42 
QuestionUnknown message Pin
Irina Tseitlin19-Mar-06 1:16
Irina Tseitlin19-Mar-06 1:16 
AnswerRe: Unknown message Pin
karle19-Mar-06 5:26
karle19-Mar-06 5:26 
AnswerRe: Unknown message Pin
Stephen Hewitt19-Mar-06 11:46
Stephen Hewitt19-Mar-06 11:46 
QuestionHow do I know if an OK event came from mouse or Enter? Pin
IlanTal18-Mar-06 23:31
IlanTal18-Mar-06 23:31 
AnswerRe: How do I know if an OK event came from mouse or Enter? Pin
Waldermort19-Mar-06 1:31
Waldermort19-Mar-06 1:31 
AnswerRe: How do I know if an OK event came from mouse or Enter? Pin
Graham Bradshaw19-Mar-06 2:59
Graham Bradshaw19-Mar-06 2:59 
GeneralRe: How do I know if an OK event came from mouse or Enter? Pin
IlanTal19-Mar-06 4:03
IlanTal19-Mar-06 4:03 
AnswerRe: How do I know if an OK event came from mouse or Enter? Pin
Chris Gao19-Mar-06 10:30
Chris Gao19-Mar-06 10:30 
AnswerRe: How do I know if an OK event came from mouse or Enter? Pin
Chris Gao19-Mar-06 10:32
Chris Gao19-Mar-06 10:32 

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.