Date: Tue, 4 Mar 1997 17:21:36 +0200 (IST) From: Eli Zaretskii To: nikki cc: djgpp AT delorie DOT com Subject: Re: weird dosmemput problem In-Reply-To: <5fh4g5$mo1@flex.uunet.pipex.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 4 Mar 1997, nikki wrote: > static _go32_dpmi_seginfo pktout; > static unsigned char sendbuf[64]; > > void main (etc... > > pktout.size=(16*1024L+15)/16; > _go32_dpmi_allocate_dos_memory(&pktout); > > dosmemput(sendbuf,60,pktout.rm_segment*16); > > this snippet of code causes all number of weird problems for me. The snippet as it is shown seems perfectly OK to me. So it probably is something else that causes the problems. Can you post a short program that uses this snippet and bombs?