AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ControlGet crashes in Win9x with extended ASCII characters

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
toasterking



Joined: 04 Oct 2006
Posts: 8

PostPosted: Tue Feb 19, 2008 6:15 am    Post subject: ControlGet crashes in Win9x with extended ASCII characters Reply with quote

I am using ControlGet to read the text in an Edit control in a window. It works just fine with standard ASCII characters, but some extended ASCII characters crash the script. Here is the offending line of code:

Code:
ControlGet, Artist, Line, 1, Edit2, MP4 info editor


The string in the Edit control that I am trying to read is: Mêlée

When AutoHotkey crashes, this is the error message generated by Windows:

Code:
AUTOHOTKEY caused a general protection fault
in module USER.EXE at 001e:00001ae0.
Registers:
EAX=00000000 CS=16df EIP=00001ae0 EFLGS=00000286
EBX=01470000 SS=699f ESP=000089c2 EBP=009b89c8
ECX=0000694d DS=6f76 ESI=00008000 FS=3557
EDX=00010000 ES=533f EDI=00028000 GS=0000
Bytes at CS:EIP:
f3 a4 5f 5e 1f ff 76 0a 9a dc 00 47 01 8b e5 5d
Stack dump:
7dd07de0 89de16bf 00011d1e 0000e94d 00006f76 1d04533f 7da87da8 220289f4 000117af 7de07dd0 8ae01d69 89fe7da8 8a0416bf 000121b0 0eec7da8 207b8a20


I am using AutoHotkey 1.0.47.05 on Windows 98SE.
Reportedly the same code works fine in Windows XP, and if I use ControlGetText instead in Windows 98SE, it works fine with no errors. (Thanks jaco0646!) Since there is a workaround available (ControlGetText), this probably should not be treated as high priority, but it seems to be a bug all the same.
Back to top
View user's profile Send private message
rickly
Guest





PostPosted: Tue Feb 19, 2008 3:22 pm    Post subject: Reply with quote

This may not be a bug (pehaps a problem with your app?).

See test code posted in Ask for Help forum at
http://www.autohotkey.com/forum/topic28757.html

- I inadvertently posted there instead of here in Bug Reports!

-- rickly
Back to top
toasterking



Joined: 04 Oct 2006
Posts: 8

PostPosted: Tue Feb 19, 2008 6:05 pm    Post subject: Reply with quote

The app displaying the window control from which the AutoHotkey script was reading text was Winamp. I did not try creating my own GUI in AutoHotkey and reading from a control there as you did. It could be a problem with the app, but then I would think it would be the app crashing and not AutoHotkey. I will play with it a little more tonight and post my findings.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group