Jump to content

unable to use ControlListView


Recommended Posts

Hi,

The ControlListView function doesn't seem to return information and raises an error.

Calling something like:

int nBufSize=2048;

char *szResult = (char *) calloc(nBufSize,sizeof(char));

AU3_ControlListView("C:\Program'' ,"","SysListView321","SelectAll","","",szResult,nBufSize);

puts a "1" in the szResult buffer and sets the error (AU3_error() returns 1)

The strange thing is that using the AU3_ControlCommand function correctly recognises the control.

Am I missing something here? How can I get something useful out of this control?

I am using AutoItX version 3.1.1.0

Can someone give me a proper working example in a piece of C code?

Thanks,

Ton

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...