delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/02/12:05:57

From: Agateauthor AT geocities DOT com (Kevin P. Soucy)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Someone please help with memory problem.
Date: Fri, 02 Jul 1999 13:23:06 GMT
Organization: Netcom
Lines: 17
Message-ID: <377cbbd7.42915343@nntp.ix.netcom.com>
References: <377c0d74 DOT 8937482 AT nntp DOT ix DOT netcom DOT com> <930903379 DOT 294 AT www DOT remarq DOT com>
NNTP-Posting-Host: prv-ri4-21.ix.netcom.com
X-NETCOM-Date: Fri Jul 02 8:28:15 AM CDT 1999
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Fri, 02 Jul 1999 00:16:17 -0800, Clemens Valens
<c DOT valens AT mindless DOT com> wrote:

>My guess is that your problem is not in the code you
>posted, but in the part you didn't post. I tried your code,
>using new random values for block_cols and block_rows every
>pass and it runs fine under real DOS and in a DOS box under
>Windows 98. Maybe you mess up your variables somewhere else.
>
>Clemens

Thanks.  I thought I was using free incorrectly.  BTW, why does DJGPP
always crash when it tries to free memory that hasn't been allocated?
(Or so I'm lead to believe.  My program always crashes on the free
functions for reasons I cannot explain.)

The AGT/AGATE guy.  Agateauthor AT geocities DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019