Mail Archives: djgpp/1998/10/19/05:32:43
On Mon, 19 Oct 1998, Eli Zaretskii wrote:
>
> On Mon, 19 Oct 1998, Olivier Perron wrote:
>
> > First: it seems I can't hook the serial port interrupt when I run under
> > Windows95 (but it works well under plain DOS). Could someone explain me
> > why ?
>
> Probably because Windows doesn't like you? ;-)
>
Well, why not. I may ask Bill if Windows has some emotional or affective
feelings !
> But first, could you please explain ``I can't hook the serial port''?
> What exactly goes wrong?
>
The interrupt handler is simply NEVER called when my program run in a DOS
box under Windows 95. But it is under plain DOS.
Note that if I hook the timer interrupt (8) it works well both under
Windows and plain DOS. It's just the serial port interrupt (and maybe
others, who knows) which causes problem.
[...]
>
> Moreover, I don't really understand why are you eager to toss the
> wrappers. How can they hurt anything in your program?
>
They don't hurt at all. It was just a question with an educational goal
and your answer is just fine: i've learned a litle a more about what an
interrupt wrapper involves.
And yes, I could have watched at the sources of the wrappers, it had saved
me to ask my question.
Olivier.
- Raw text -