🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6943

Re: Help with mouse driver! Is Logi 5 diff from Log 4?

#6943
From: sorrow
Date: Mon, 03 Jun 1991 22:50
40 lines
2364 bytes
It seems that I was a tad bit ambiguous with my post about the differences. 
However, in the time since that last post I was at work and working on this
problem.  Here is a quick summary:

1.  I now get the "Stack overflow!" message on all machines some of the time.
2.  I am using Borland C++ with stack checking enabled, large model.
3.  I am using int 0x33, function 0x0C to install my own call mask and
interrupt handler ( I am NOT replacing int 0x33).
4.  It is not a problem with my interrupt handler, since it is NEVER reached. 
I set a break point at the beginning of it, touch the mouse, BOOM, stack
overflow.
5.  I just ordered the Logitech Mouse Programmer's Toolkit and pray to God that
it is better than that Mouse Programmer's Reference from MicroSlough.

I downloaded Logitech Mouse.COM 5.01 and it solved the problem for about 45
minutes when it started happening again.  Reboot, still happened.  I have tried
Logitech 3.42, 4.00, 5.00, and 5.01.  I get stack overflow with all but 3.42. 
NOW, I am positive it is not a stray pointer somewhere since the code consists
of nothing more than installing the handler, showing the mouse, then exit on a
keyclick.

And the code is not outright broken, since some times, rather arbitrarily, it
works fine, exits fine, etc.  Other times, I just bump my desk and the program
explodes.


Hmmm...

Any help would be appreciated once again, and thanks to those that sent the
first wave of replies :-)

Brian
/*
Brian Hook -- MS-DOS Programmer for Contract
-----------------------------------------------------------------
"I was in the kitchen, Seamus, that's my dog, was outside....and buried
ALIVE....fritter and waste...but this one goes to 11!....anymore of that
plutonium nyborg?....SNOW TIME!....This is home...this is Mean Street..
*/
Technical Details
Message-ID: <0094995C.48808400@MAPLE.CIRCA.UFL.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!uflorida!SORROW@MAPLE.CIRCA.UFL.EDU
References: <00949912.601AB080@MAPLE.CIRCA.UFL.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!uflorida!SORROW@MAPLE.CIRCA.UFL.EDU
From: sorrow@oak.circa.ufl.edu
Newsgroups: comp.os.msdos.programmer
Subject: Re: Help with mouse driver! Is Logi 5 diff from Log 4?
Message-ID: <0094995C.48808400@MAPLE.CIRCA.UFL.EDU>
Date: 3 Jun 91 22:50:18 GMT
References: <00949912.601AB080@MAPLE.CIRCA.UFL.EDU>
Sender: news@uflorida.cis.ufl.EDU
Reply-To: sorrow@oak.circa.ufl.edu
Organization: University of Florida CIRCA VAX Cluster
Lines: 40