Modify

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 Valik, 17 years ago

Severity: NoneBlocking

comment:2 by TicketCleanup, 17 years ago

Severity: BlockingNone

Automatic ticket cleanup.

comment:3 by Valik, 17 years ago

Owner: set to Jon
Severity: NoneBlocking
Status: newassigned

comment:4 by Jon, 17 years ago

Severity: BlockingNone
Type: BugFeature 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:5 by TicketCleanup, 17 years ago

Version: 3.2.13.10

Automatic ticket cleanup.

comment:6 by J-Paul Mesnage, 17 years ago

Resolution: Works For Me
Status: assignedclosed

Checking with 3.3.0.0 running under a Vista X64 under a Virtual machine Works for me

Modify Ticket

Action
as closed The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.