mouse problem with 'standard' Windows program

Roberto Rueda rwheel99 at hotmail.com
Sat Nov 17 10:06:57 CST 2001


I have de same problem with a Visual Foxpro 6.0 application.

I have Mandrake 8.1 and wine20011106.rpm

I can´t write nothing and I can´t move the mouse, because the application
hold.

Excuse my english, but I speak spanish.

----- Original Message -----
From: "gerard patel" <g.patel at wanadoo.fr.invalid>
Newsgroups: wine.users
To: <wine-users at winehq.com>
Sent: Friday, November 16, 2001 2:02 PM
Subject: Re: mouse problem with 'standard' Windows program


> On 16 Nov 2001 02:16:59 -0800, vkelim at my-deja.com (Dr. David P.S.
> Fong) wrote:
>
> >Thank you for your reply...
> >
> >
> >
> >Unfortunately, the problem didn't go away when I tried wine20011108
> >(which I compiled myself) or wine20011106 or wine20011113 (pre-made
> >RPMs).
> >
> >
> >
> >The problem did go away when I tried wine20010305
> <snip>
>
> Right, it is another problem. I downloaded this
> very strange application and the following hack
> is fixing the problem :
>
> --- input.c.orig        Tue Nov 13 21:30:59 2001
> +++ input.c     Fri Nov 16 12:26:10 2001
> @@ -598,7 +598,9 @@
>   */
>  WORD WINAPI GetAsyncKeyState(INT nKey)
>  {
> -    WORD retval = ((AsyncKeyStateTable[nKey] & 0x80) ? 0x0001 : 0) |
> +    WORD retval;
> +    MsgWaitForMultipleObjects( 0, NULL, FALSE, 0, QS_ALLINPUT );
> +    retval = ((AsyncKeyStateTable[nKey] & 0x80) ? 0x0001 : 0) |
>                    ((InputKeyStateTable[nKey] & 0x80) ? 0x8000 : 0);
>      AsyncKeyStateTable[nKey] = 0;
>      TRACE_(key)("(%x) -> %x\n", nKey, retval);
>
> Let me know if everything works as normal for
> the application, if yes I'll try to send it to the
> Wine maintainer.
>
> (btw there is something wrong with your news
> software it seems - or the Enter key of your
> keyboard is faulty and repeats too much)
>
> Gerard
> _______________________________________________
> wine-users mailing list
> wine-users at winehq.com
> http://www.winehq.com/mailman/listinfo/wine-users
>




More information about the wine-users mailing list