Jump to content

Recommended Posts

Posted (edited)

$hwnd = GetControlHandle("","","ListBox1")

DLLCAL("user32.dll","int","hwnd",$hwnd,"SendMessage",int,$VM_GETTEXT,"int", 32,"ptr", Pointer to the buffer that is to receive the text )

How can i Do in the DLLCALL to acess to the pointer with autoit ?

Thanks

Edited by LOULOU
  • Administrators
Posted

$hwnd = GetControlHandle("","","ListBox1")

DLLCAL("user32.dll","int","hwnd",$hwnd,"SendMessage",int,$VM_GETTEXT,"int", 32,"ptr", Pointer to the buffer that is to receive the text  )

How can i Do in the DLLCALL  to acess to the pointer with autoit ?

Thanks

Try just a "str" (which is actually a pointer to characters which is what the call wants)


 

Posted

@Jon, let me take this opportunity to say that we need a str_ptr as well. There are some functions that require a pointer to a string that will not accept plain strings. Is there a possibility that something like this could be whipped up?

Who else would I be?

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...