Jump to content
Sign in to follow this  

Solved: Read Strings from Listview Problem

Recommended Posts


Hi there,

I'd like to get the strings from a Listview32 Control. Getting the item count of the ListView is no problem. But every try to get some text/strings ends up in an empty variable or target program crashs

$hlv= ControlGetHandle("DocFetcher","","SysListView322")
;-> get handle works fine

$icount = _GUICtrlListView_GetItemCount($hlv)
;-> returns the correct number of elements

$atextbox=  _GUICtrlListView_GetItemTextString($hlv)
; -> is empty or target program crashes

The target program is "DocFetcher", is a desktop index search programm and written in Java (http://docfetcher.sourceforge.net/de/index.html).

Filling in fields is no problem, so I can perform a custom automated search. The result is written in the Listview... so how can I get the result in autoit?


Any suggestions?

Greetings, Mozart


Edit: ok it is a 64bit problem

using the 64bit version of autoit I get the Strings ...








Edited by mozart90

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.