mIRC Homepage
Posted By: DixrouE 7.1 on keydown bug ? - 31/07/10 08:11 PM
Hello,

On a clean mIRC 7.1 install, I did the following:

/window -a @test

then added this to my remote section:

on 1:KEYDOWN:@:*:echo User pressed key $keyval $keychar in $active

Then I pressed "a" key once, then another time and holded it down. Here is what I got:



$keychar is wrong on the first line and on the line where the key was holded down. Also it should be ascii code 97 and not 65A AFAIK...

Thank for looking into this issue.
Posted By: visionz Re: 7.1 on keydown bug ? - 02/08/10 10:51 PM
I have the same problem :

User pressed key 65 롡 in @bob
User pressed key 65 a in @bob
User pressed key 65 a in @bob
User pressed key 65 a in @bob

The $keychar seems broken the first time.

Edit : I'm using Windows 7, 64 bits, and mIRC 7.1
Posted By: pball Re: 7.1 on keydown bug ? - 03/08/10 01:02 AM
well i don't have plain mirc, but this displays all characters properly for me, sounds like something else is a factor here. i'm on win 7
Posted By: argv0 Re: 7.1 on keydown bug ? - 03/08/10 02:01 AM
I can't reproduce this in 7.1, Win7 64bit.

Can you type //echo -a $md5($mircexe,2) $script(0) $dll(0) $com(0) $version $os

And report the results here?
Posted By: Khaled Re: 7.1 on keydown bug ? - 03/08/10 09:41 AM
Thanks, this appears to be a Windows API bug that only shows up intermittently in the Unicode version. This has been fixed for the next version.
© mIRC Discussion Forums