Click here to Skip to main content
16,005,037 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: fault on delete[ ] ? Pin
Navin23-Aug-03 9:43
Navin23-Aug-03 9:43 
GeneralRe: fault on delete[ ] ? Pin
Brian C Hart23-Aug-03 12:16
professionalBrian C Hart23-Aug-03 12:16 
GeneralRe: fault on delete[ ] ? Pin
armentage25-Aug-03 8:03
armentage25-Aug-03 8:03 
GeneralRe: fault on delete[ ] ? (Solved) Pin
Brian C Hart25-Aug-03 8:39
professionalBrian C Hart25-Aug-03 8:39 
GeneralRe: fault on delete[ ] ? (Solved) Pin
armentage25-Aug-03 8:48
armentage25-Aug-03 8:48 
GeneralRe: fault on delete[ ] ? Pin
JT Anderson25-Aug-03 12:29
JT Anderson25-Aug-03 12:29 
AnswerRe: fault on delete[ ] ? Pin
Neville Franks23-Aug-03 10:09
Neville Franks23-Aug-03 10:09 
GeneralRe: fault on delete[ ] ? (Solved) Pin
Brian C Hart25-Aug-03 8:41
professionalBrian C Hart25-Aug-03 8:41 
Neville Franks wrote:
You haven't said precisely what the error is, but I assume it is an error in the heap. I think you'll find you've screwed the heap somewhere in your code and when delete(free) is called it is detecting this. There are various flags you can set to help track heap problems. Have a look at _CrtSetDbgFlag().

Hello Neville:

I have solved the problem. It was just a buffer overrun, which I fixed by allocating a couple of more 'extra' elements than I needed.

Thanks for the help.

Sincerely Yours,
Brian Hart
Department of Physics and Astronomy
University of California, Irvine
AnswerRe: fault on delete[ ] ? Pin
igor196023-Aug-03 16:32
igor196023-Aug-03 16:32 
GeneralRe: fault on delete[ ] ? (Solved) Pin
Brian C Hart25-Aug-03 8:42
professionalBrian C Hart25-Aug-03 8:42 
GeneralMFC problem with templates and VS2003 : plz help!!! Pin
berserker_r23-Aug-03 8:39
berserker_r23-Aug-03 8:39 
GeneralRe: MFC problem with templates and VS2003 : plz help!!! Pin
igor196023-Aug-03 16:47
igor196023-Aug-03 16:47 
GeneralRe: MFC problem with templates and VS2003 : plz help!!! Pin
berserker_r24-Aug-03 0:43
berserker_r24-Aug-03 0:43 
Generalscript blocking Pin
Chen Jiadong23-Aug-03 4:39
Chen Jiadong23-Aug-03 4:39 
QuestionHow can i get the 9th bit in Serial communication? Pin
Cyclist23-Aug-03 4:17
Cyclist23-Aug-03 4:17 
AnswerRe: How can i get the 9th bit in Serial communication? Pin
Ernest Laurentin23-Aug-03 4:39
Ernest Laurentin23-Aug-03 4:39 
GeneralRe: How can i get the 9th bit in Serial communication? Pin
Cyclist23-Aug-03 17:25
Cyclist23-Aug-03 17:25 
Questionhow to code CDialogBar into SDI? Pin
coda_x23-Aug-03 3:09
coda_x23-Aug-03 3:09 
GeneralNeed Compiler crack Pin
Babayan Hovhannes23-Aug-03 2:00
Babayan Hovhannes23-Aug-03 2:00 
GeneralRe: Need Compiler crack Pin
Trollslayer23-Aug-03 3:05
mentorTrollslayer23-Aug-03 3:05 
GeneralRe: Need Compiler crack Pin
Terry O'Nolley23-Aug-03 7:43
Terry O'Nolley23-Aug-03 7:43 
GeneralRe: Need Compiler crack Pin
leppie23-Aug-03 17:15
leppie23-Aug-03 17:15 
GeneralRe: Need Compiler crack Pin
Alexander M.,24-Aug-03 6:24
Alexander M.,24-Aug-03 6:24 
GeneralSOS!!!!! Pin
jimsleon23-Aug-03 1:22
jimsleon23-Aug-03 1:22 
GeneralRe: SOS!!!!! Pin
Neville Franks23-Aug-03 1:56
Neville Franks23-Aug-03 1:56 

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.