Date: Mon, 19 Oct 1998 11:31:49 +0200 (MET DST) From: Olivier Perron X-Sender: perron AT rtbsci146s To: Eli Zaretskii Cc: djgpp AT delorie DOT com Subject: Re: Questions about protected mode interrupt handler In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com 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.