Click here to Skip to main content
15,892,839 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: what this code is doing? Pin
David Crow27-Sep-06 3:13
David Crow27-Sep-06 3:13 
AnswerRe: what this code is doing? Pin
Reagan Conservative27-Sep-06 8:32
Reagan Conservative27-Sep-06 8:32 
Questionserial communication prog? Pin
Sunshine Always26-Sep-06 20:25
Sunshine Always26-Sep-06 20:25 
AnswerRe: serial communication prog? Pin
Hamid_RT26-Sep-06 20:40
Hamid_RT26-Sep-06 20:40 
AnswerRe: serial communication prog? Pin
Ștefan-Mihai MOGA26-Sep-06 22:51
professionalȘtefan-Mihai MOGA26-Sep-06 22:51 
QuestionMemory Allocation Pin
Polite Programmer26-Sep-06 20:10
Polite Programmer26-Sep-06 20:10 
AnswerRe: Memory Allocation Pin
Cedric Moonen26-Sep-06 20:10
Cedric Moonen26-Sep-06 20:10 
GeneralRe: Memory Allocation Pin
Polite Programmer26-Sep-06 20:22
Polite Programmer26-Sep-06 20:22 
You are right, not enough information:
Value of iLen is > 0 < 200. Moreover, between the lines, we are just calling string manipulation functions like strlen, strcpy etc. But when the delete []szText is executed, heap corruption message follows....

Polite Programmer


More Object Oriented then C#

GeneralRe: Memory Allocation Pin
Cedric Moonen26-Sep-06 20:28
Cedric Moonen26-Sep-06 20:28 
QuestionRe: Memory Allocation Pin
David Crow27-Sep-06 3:16
David Crow27-Sep-06 3:16 
AnswerRe: Memory Allocation Pin
User 21559726-Sep-06 20:26
User 21559726-Sep-06 20:26 
GeneralRe: Memory Allocation Pin
Polite Programmer26-Sep-06 20:31
Polite Programmer26-Sep-06 20:31 
QuestionRe: Memory Allocation Pin
David Crow27-Sep-06 3:22
David Crow27-Sep-06 3:22 
GeneralRe: Memory Allocation Pin
nutkase27-Sep-06 18:35
nutkase27-Sep-06 18:35 
AnswerRe: Memory Allocation Pin
kakan26-Sep-06 20:33
professionalkakan26-Sep-06 20:33 
GeneralRe: Memory Allocation Pin
Polite Programmer26-Sep-06 20:41
Polite Programmer26-Sep-06 20:41 
GeneralRe: Memory Allocation [modified] Pin
kakan26-Sep-06 20:51
professionalkakan26-Sep-06 20:51 
Questionhow to refresh automatically in a property page? Pin
yijia_2426-Sep-06 20:04
yijia_2426-Sep-06 20:04 
QuestionRe: how to refresh automatically in a property page? Pin
David Crow27-Sep-06 3:25
David Crow27-Sep-06 3:25 
AnswerRe: how to refresh automatically in a property page? Pin
yijia_2427-Sep-06 15:47
yijia_2427-Sep-06 15:47 
QuestionRe: how to refresh automatically in a property page? Pin
David Crow28-Sep-06 2:37
David Crow28-Sep-06 2:37 
QuestionRe: how to refresh automatically in a property page? Pin
yijia_242-Oct-06 18:03
yijia_242-Oct-06 18:03 
AnswerRe: how to refresh automatically in a property page? Pin
David Crow3-Oct-06 2:49
David Crow3-Oct-06 2:49 
QuestionResucing the flickerring rate Pin
Pratheep Kenny26-Sep-06 19:08
Pratheep Kenny26-Sep-06 19:08 
AnswerRe: Resucing the flickerring rate Pin
kakan26-Sep-06 19:30
professionalkakan26-Sep-06 19:30 

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.