Opened 17 years ago
Closed 17 years ago
#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 , 17 years ago
| Severity: | None → Blocking |
|---|
comment:2 by , 17 years ago
| Severity: | Blocking → None |
|---|
comment:3 by , 17 years ago
| Owner: | set to |
|---|---|
| Severity: | None → Blocking |
| Status: | new → assigned |
comment:4 by , 17 years ago
| 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 , 17 years ago
| 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.