From: "Cody" Newsgroups: comp.os.msdos.djgpp Subject: [OT] fast, SAFE keyboard handler Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Original-NNTP-Posting-Host: tel-ppp0097.ktsnet.com Message-ID: <3ab04ed5@leia.ktsnet.com> Date: Wed, 14 Mar 2001 23:09:33 -0600 NNTP-Posting-Host: 216.60.177.225 X-Complaints-To: abuse AT swbell DOT net X-Trace: nnrp3.sbc.net 984632774 216.60.177.225 (Wed, 14 Mar 2001 23:06:14 CST) NNTP-Posting-Date: Wed, 14 Mar 2001 23:06:14 CST Organization: SBC Internet Services To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Does anyone have an extremely fast keyboard handler for 32-bit dos that is safe? I also need one that's translated into 16-bit code, because more than likely it's going to have to be in assembler, which I have a... "fear"... of coding in (+ I understand the very basics but can't translate it at all). I currently have a 16-bit keyboard handler (that was written for turbo pascal 6.0 in asm), but it changes the keyboard handler and restores it at the end of the program. That's all fine and dandy until someone presses control+break in the program and it isn't able to restore the old keyboard handler, causing my friggin' comp to freeze. Well, anyways, all I'm begging for is some keyboard functions that can detect more than 1 key at once that is fast and most importantly SAFE. Any suggestions? P.S. I don't want to use allegro's keyboard handler because everytime I try anything with allegro, it will not compile. I've tried everything: reinstalling djgpp, allegro, rhide, typing alleg in the libraries in rhide, etc. etc. to no avail. If I could use allegro, it would be fine, but I can't.