Mail Archives: djgpp/1997/02/24/11:28:15
On 24 Feb 1997, nikki wrote:
> >> void receiver()
> >
> > This should be "void receiver (__dpmi_regs *r)".
>
> ok, i changed this but it made no difference sadly :(
It's C, so it shouldn't have made any difference (since the caller pops
the stack); I just wanted to point out that the regs *are* pushed onto
the stack before your `receiver' is called.
> i thought callback_regs was global and therefore you wouldn't need to pass
> *r like this?
Yes, but you can define the callback on one source file and install it in
another.
- Raw text -