Mail Archives: djgpp/2000/03/19/11:27:13
On Sun, 19 Mar 2000, Michael Tippach wrote:
> > > > One problem with NT that needs to be worked around is that NT ignores the
> > > > hight 16 bits of the user procedure address that is installed as a
> > > > real-mode callback (e.g., for handling mouse events).
> > >
> > > Does Win2K behave the same?
> >
> > No, it seems that this particular bug doesn't exist in W2K.
>
> So would you agree that the go32 stub could be modified to perform a
> check?
I'm not sure I follow. Are you suggesting that the stub loader be
modified to install a real-mode callback? If so, the only way to know if
that works or not is to make the callback be called, and crash. Doesn't
seem like a good way of identifying an OS...
Besides, the stub loader is heavily optimized for size (it's 2KB long),
and the above test would bloat it quite a bit.
- Raw text -