From: "Michael Stewart" Newsgroups: comp.os.msdos.djgpp Subject: Re: Mouse programming Date: Fri, 18 Jun 1999 16:41:03 +0100 Organization: (Posted via) Netcom Internet Ltd. Lines: 24 Message-ID: <7kdpc6$8b3$1@taliesin.netcom.net.uk> References: <376A5636 DOT 9E45ABA1 AT unn DOT ac DOT uk> NNTP-Posting-Host: hgty.capgemini.co.uk X-Trace: taliesin.netcom.net.uk 929720518 8547 194.42.240.2 (18 Jun 1999 15:41:58 GMT) X-Complaints-To: abuse AT corp DOT netcom DOT net DOT uk NNTP-Posting-Date: 18 Jun 1999 15:41:58 GMT X-Newsreader: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Mark Collinson wrote in message <376A5636 DOT 9E45ABA1 AT unn DOT ac DOT uk>... > >Greeting all, > >I am using djgpp to program my mouse in C++. I have attempted to create >a C++ class to do all mouse driver communication. Unfortunately the code >does not seem to work efficiently enough for the mouse to behave >smoothly. I have provide the code below. > >Can someone please provide me with a solution or some advice as to how >to improve this code. I am relatively new to C++ so any help would be >gratefully received. > >Thanks in advance, >Mark. There is a mouse class on my website (http://www.reggin.freeserve.co.uk/ in the snippets section). Does most of what yours does plus a little more :-), if anything doesn't make sense then give me a mail. Michael Stewart