🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#6937
From: sorrow
Date: Mon, 03 Jun 1991 14:01
34 lines
1953 bytes
Hi all.  I have been using my own mouse routines and installed my own mouse
interrupt handler.  Here is the problem:

1.  I am using a 386/33 using Borland C++ (BC /X, not BCX).
2.  When running Logitech Mouse Driver 5.00 I have found that when I run my
program I get a "Stack Overflow!" error.  I have stack checking enabled.
This happens on my 386 but not on a 286.
3.  This does not happen using Logitech Mouse 4.00.
4.  The stack overflow occurs the SECOND I TOUCH THE MOUSE after my routines
to install my mouse handler (call back function) are executed.
5.  The machine will work inconsistently with stack checking off.

So, the question is:

Is there a bug with Logitech 5.00 that I am not aware of?  If so, why do
my other mouse programs (Eye of the Beholder, Windows 3.0, BC++, etc.) work
with the driver and my programs die?  Is there something that I am missing
here fundamentally?

And I own the Microsoft Mouse PRogrammer's Reference, but it is the worst
programming book I have yet to lay eyes on.

*sigh*

This is real annoying.  Any replies, posted or mailed, would be appreciated.

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: <00949912.601AB080@MAPLE.CIRCA.UFL.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!rex!uflorida!SORROW@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!wuarchive!rex!uflorida!SORROW@MAPLE.CIRCA.UFL.EDU
From: sorrow@oak.circa.ufl.edu
Newsgroups: comp.os.msdos.programmer
Subject: Help with mouse driver! Is Logi 5 diff from Log 4?
Message-ID: <00949912.601AB080@MAPLE.CIRCA.UFL.EDU>
Date: 3 Jun 91 14:01:15 GMT
Sender: news@uflorida.cis.ufl.EDU
Reply-To: sorrow@oak.circa.ufl.edu
Organization: University of Florida CIRCA VAX Cluster
Lines: 34