Modify

#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, on Nov 16, 2008 at 2:51:06 AM

Severity: NoneBlocking

comment:2 by TicketCleanup, on Nov 16, 2008 at 5:00:02 AM

Severity: BlockingNone

Automatic ticket cleanup.

comment:3 by Valik, on Nov 17, 2008 at 2:51:21 AM

Owner: set to Jon
Severity: NoneBlocking
Status: newassigned

comment:4 by Jon, on Dec 22, 2008 at 12:50:23 PM

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, on Dec 22, 2008 at 3:00:02 PM

Version: 3.2.13.10

Automatic ticket cleanup.

comment:6 by Jpm, on Feb 9, 2009 at 7:47:55 AM

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.