From Ian James Abbott · 1996-03-30 07:27 · #75175 in R25C
From: jambo@spuddy.mew.co.uk (Ian James Abbott) Yo Gareth! >HELP ! ! I`m writing a large program, using the medium memory model, >in Borland C++ 4.5. The problem is that it either crashes without warning, >or it corrupts the heap, and crashes soon after. > I verify all my mallocs, but to no avail. This is surely a memory >problem. I`ve changed the stack size and the the memory model, but the program >doesn`t use much memory anyway, just for buffers behind my Dos windows, which >take up no more than around 3-4 kilobytes. It certainly sounds like a memory problem. It sounds like you're overwriting past the end of a malloced block or something. You mentioned you were verifying all your mallocs. In what way? > Is it something obvious?!?!? I am becoming extrememly IRRITATED by >this. Help me out if you can. I suspect this is something you are going to have to sort out yourself. All we can do is hopefully point you in the right directions. -- * Meeeow! Call Spuddy on +44 1268 515441 for FREE mail & Usenet access. * --- ifmail v.2.8c * Origin: Spud's Public Usenet Domain (2:257/108.12@fidonet)