Date: Sun, 8 Feb 1998 14:08:46 +0200 (IST) From: Eli Zaretskii To: Majisun cc: djgpp AT delorie DOT com Subject: Re: HELP, PLEASE HELP... SIG INT In-Reply-To: <01bd3434$3eb169c0$613d31cf@default> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 8 Feb 1998, Majisun wrote: > Okay, the problem is like this: I have a pointer to the video buffer and a > double buffer pointer. I used calloc(0, 64000) to set the double > buffer. ^^^^^^^^^^^^^^^^ This allocation doesn't allocate anything! The first parameter needs to be non-zero; the size in bytes of the actual allocated buffer is the multiple of the two parameters, which in your case is zero.