Mail Archives: djgpp/1997/03/04/10:41:03
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?
- Raw text -