Opened on Nov 13, 2008 at 10:45:58 PM
Closed on Feb 9, 2009 at 7:47:55 AM
#677 closed Feature Request (Works For Me)
ControlGetHandle/ControlListView on .Net Listview crashes/not working with Vista64
| Reported by: | freakazoid | Owned by: | Jon |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
Sample Application: http://www.ondotnet.com/dotnet/2002/10/28/examples/listview-example.zip from http://www.ondotnet.com/pub/a/dotnet/2002/10/28/listview.html?page=2
I had this problem also with other programs using listview and another user reporting the same.
Sample script:
msgbox (0, "", "started");
$captcha_window_handle = WinGetHandle("C:\temp\listview");
msgbox (0, "", "we got the windowhandle: "&$captcha_window_handle);
$captchahandle = ControlGetHandle ($captcha_window_handle,"","[CLASS:WindowsForms10.SysListView32.app.0.378734a; INSTANCE:1]");
msgbox (0, "", "we got the controlhandle:" &$captchahandle);
$value = ControlListView($captcha_window_handle,"",$captchahandle,"GetText",0,0);
msgbox (0, "", "controllistview value:"&$value);
The sample app uses the path you run it in as windowtitle, so the second line needs to be set to your local settings. The script runs fine and without any issues on WinXP32, but on Vista64 the ControlGetHandle fails to return any handle or if successful it crashes the target app when using ControlListView.
I've tried this with the last beta and current release version, same negative effect.
Attachments (0)
Change History (6)
comment:1 by , on Nov 16, 2008 at 2:51:06 AM
| Severity: | None → Blocking |
|---|
comment:2 by , on Nov 16, 2008 at 5:00:02 AM
| Severity: | Blocking → None |
|---|
comment:3 by , on Nov 17, 2008 at 2:51:21 AM
| Owner: | set to |
|---|---|
| Severity: | None → Blocking |
| Status: | new → assigned |
comment:4 by , on Dec 22, 2008 at 12:50:23 PM
| Severity: | Blocking → None |
|---|---|
| Type: | Bug → Feature Request |
The problem is these functions rely on sharing memory between processes. Need to look at a way to share memory between a 32 and 64 process ok. Changing to feature request.
comment:6 by , on Feb 9, 2009 at 7:47:55 AM
| Resolution: | → Works For Me |
|---|---|
| Status: | assigned → closed |
Checking with 3.3.0.0 running under a Vista X64 under a Virtual machine Works for me

Automatic ticket cleanup.