LOULOU 0 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 Share this post Link to post Share on other sites
Jon 1,009 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/ Share this post Link to post Share on other sites
this-is-me 6 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? Share this post Link to post Share on other sites