Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMessage Closed Pin
21-Jan-23 9:57
Member 1496877121-Jan-23 9:57 
AnswerRe: "C++ is static (language)..." Pin
Mircea Neacsu21-Jan-23 10:59
Mircea Neacsu21-Jan-23 10:59 
AnswerRe: "C++ is static (language)..." Pin
Richard MacCutchan21-Jan-23 22:06
mveRichard MacCutchan21-Jan-23 22:06 
AnswerRe: "C++ is static (language)..." Pin
jschell22-Jan-23 8:17
jschell22-Jan-23 8:17 
QuestionCan you make a serial port hooking program? Pin
Member 1590067020-Jan-23 21:07
Member 1590067020-Jan-23 21:07 
AnswerRe: Can you make a serial port hooking program? Pin
Richard MacCutchan20-Jan-23 22:10
mveRichard MacCutchan20-Jan-23 22:10 
AnswerRe: Can you make a serial port hooking program? Pin
CPallini21-Jan-23 3:00
mveCPallini21-Jan-23 3:00 
AnswerRe: Can you make a serial port hooking program? Pin
jschell22-Jan-23 8:23
jschell22-Jan-23 8:23 
AnswerRe: Can you make a serial port hooking program? Pin
charlieg28-Jan-23 8:58
charlieg28-Jan-23 8:58 
QuestionMessage Closed Pin
18-Jan-23 7:36
Member 1496877118-Jan-23 7:36 
AnswerRe: foreach() ?? Pin
Mircea Neacsu18-Jan-23 7:41
Mircea Neacsu18-Jan-23 7:41 
AnswerRe: foreach() ?? Pin
CPallini18-Jan-23 7:51
mveCPallini18-Jan-23 7:51 
GeneralMessage Closed Pin
21-Jan-23 10:04
Member 1496877121-Jan-23 10:04 
GeneralRe: foreach() ?? Pin
jschell22-Jan-23 8:26
jschell22-Jan-23 8:26 
QuestionCRichedit and CDC Pin
ForNow18-Jan-23 2:51
ForNow18-Jan-23 2:51 
AnswerMessage Closed Pin
19-Jan-23 23:08
professionalunitedsol zain19-Jan-23 23:08 
GeneralRe: CRichedit and CDC Pin
ForNow20-Jan-23 2:24
ForNow20-Jan-23 2:24 
GeneralRe: CRichedit and CDC Pin
Richard MacCutchan20-Jan-23 2:37
mveRichard MacCutchan20-Jan-23 2:37 
GeneralRe: CRichedit and CDC Pin
ForNow20-Jan-23 3:09
ForNow20-Jan-23 3:09 
QuestionHeap Corruption Durning Streamin Pin
ForNow16-Jan-23 8:09
ForNow16-Jan-23 8:09 
AnswerRe: Heap Corruption Durning Streamin think I found it Pin
ForNow16-Jan-23 16:20
ForNow16-Jan-23 16:20 
GeneralRe: Heap Corruption Durning Streamin think I found it Pin
jschell17-Jan-23 4:12
jschell17-Jan-23 4:12 
ForNow wrote:
right away its way down the road


Yep that is how memory (heap) corruption works. You broke the heap at that point. Then somewhere after it something went to use the heap and at that point the data was bad.

Additionally the behavior that happens could be almost anything. Depends on what the actual data (bad) was in the heap and what it was attempting to do with it at that point, and even what was calling it.
GeneralRe: Heap Corruption Durning Streamin think I found it Pin
ForNow17-Jan-23 4:17
ForNow17-Jan-23 4:17 
QuestionMessage Closed Pin
15-Jan-23 15:45
Member 1496877115-Jan-23 15:45 
AnswerRe: Why #if 0 ... #endif Pin
Mircea Neacsu15-Jan-23 15:57
Mircea Neacsu15-Jan-23 15:57 

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.