Sign in to follow this  
Followers 0
omma99

AU3_ControlListView cannot work correct

1 post in this topic

I use Delphi Language want to GetText of SysListView321

use file AutoItX3.dll

call AU3_ControlListView procedure like above but always get answer 0

please help me

procedure AU3_ControlListView(const szTitle: PChar; const szText: PChar; const szControl: PChar; const szCommand: PChar; const szExtra1: PChar; const szExtra2: PChar; szResult: PChar; nBufSize: integer); stdcall; external AU3_DLL;

procedure TfrmShoot.Button1Click(Sender: TObject);

var

szResult:Array[0..255] of Char;

begin

AU3_ControlListView('Demo_1','','SysListView321','GetText','0','1',szResult,255);

ShowMessage(String(szResult));

end;

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  
Followers 0