Path: utzoo!mnetor!uunet!husc6!mailrus!nrl-cmf!ames!pacbell!att-ih!ihnp4!fortune!bloom From: bloom@fortune.UUCP (Chris Bloom) Newsgroups: comp.lang.c Subject: Turbo C and the Mouse Driver Message-ID: <480@fortune.UUCP> Date: 24 Mar 88 17:20:23 GMT Organization: Fortune Systems/SCI Technology Inc., Belmont CA Lines: 15 Keywords: mouse, C, driver, messed up variables I have spent a great deal of time trying to interface my logitech mouse to a Turbo C program via the Mouse Systems Mouse Driver. First off, the version of the mouse driver I have does not directly support Turbo C. But I have found the best results using the Lattice C mouse call. All other mouse calls crash the program. The problem I am having occurs when I make the mouse(&m1,&m2,&m3,&m4) call and m1=1. This call retrieves the mouses current x (m3) and y (m4) values and which button is pressed (m2). For some reason the values of m2, m3, and m4 end up in other variables in my program. I cannot figure this out. Has anyone else had this mouse problem ? --> Christopher B. Bloom