Mail Archives: djgpp/1997/02/27/11:58:09
On Wed, 26 Feb 1997, Scott Frazer wrote:
> #include <dpmi.h>
>
> int main( void )
> {
> _go32_dpmi_seginfo info;
>
> _go32_dpmi_allocate_dos_memory ( &info );
> _go32_dpmi_free_dos_memory ( &info );
>
> return( 0 );
> }
Before we conclude that the NT DPMI host has a bug, please try to put
a reasonable value into info.size, so we know that it doesn't puke
because the garbage there seems like you are asking for too much DOS
memory.
Also, try to compile the program with the Unixy sbrk (that's how Emacs
is built) and see if that makes any difference.
- Raw text -