LOULOU Posted December 31, 2004 Share Posted December 31, 2004 (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 December 31, 2004 by LOULOU Link to comment Share on other sites More sharing options...
Administrators Jon Posted December 31, 2004 Administrators Share Posted December 31, 2004 $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 ? ThanksTry just a "str" (which is actually a pointer to characters which is what the call wants) Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
this-is-me Posted January 4, 2005 Share Posted January 4, 2005 @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? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now