Mail Archives: djgpp/1998/09/09/16:41:06
On Wed, 9 Sep 1998, Nick Bull wrote:
> I've allocated the memory with __dpmi_allocate_dos_memory. I've now got a
> pointer to the segment (I assume that's what is returned).
No, you've got the segment itself, not the pointer to it.
> So now I'm
> trying to put this into an element of the structure that is expecting a char
> far *. I'm really confused about this.
DJGPP doesn't support a char far *. Please post the code fragment where
you need to use the DOS memory, and explain what are you trying to
achieve.
- Raw text -