delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/07/02/13:13:49

Message-ID: <001201c340bc$f8096360$0105a8c0@luiz>
From: "Luiz Rafael Culik Guimaraes" <culikr AT uol DOT com DOT br>
To: <djgpp AT delorie DOT com>
Subject: problem with mouse
Date: Wed, 2 Jul 2003 14:11:17 -0300
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-MIME-Autoconverted: from 8bit to quoted-printable by toole.uol.com.br id OAA03561
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h62HCXd31499
Reply-To: djgpp AT delorie DOT com

Dear Friends

I has an problem with mouse
using the follow function

int getpos(void)
{
union REGS r;
r.x.ax=3;
int86(0x33&r,&r);
return r.x.cx/8;
}

this return weird numbers like 132514, 125465
I´m using an Amd Duron Processor and an Geoforce 2 mx 400.

is this related

Regards
Luiz

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019