From: "Eric.Nicolas" Date: Tue, 17 Jan 95 08:26:54 CST To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Questions... about libgrx Hello, Thanks you for your answers, >> 2. I use the libgrx library both with TurboC and GCC, and I have a problem >> with the Mouse and Keyboard Event mechanism. I enabled both Mouse AND >> Keyboard events handling with interrupts. With TurboC, everything goes >> well, but with GCC, keyboards entries simply stays in the BIOS's keyboard >> buffer ! Does anyone have an explanation ? > > Did you write your own handler? If you did, try to add some realmode callback. > No, I didn't, I used the standard functions of the libgrx. Here is my code : if (!MouseDetect()) ErrorMsg("Impossible to detect the mouse.", "Please verify connection and/or driver."); MouseEventMode(1); MouseEventEnable(TRUE,TRUE); MouseInit(); MouseSetCursor(CurMouse[0]); MouseDisplayCursor(); So, you see that in MouseEventEnable, I turn both Mouse AND Keyboard events handling ON, and this work fine in TurboC, but not with gcc !!??