xonic Posted February 9, 2006 Posted February 9, 2006 Hello, I call a function in a DLL with DllCall without problem, but this function return a pointer to a string. How I can get get/read this string when I know her pointer. Thank you for your help xonic
VoSs2o0o Posted February 15, 2006 Posted February 15, 2006 Create a char - Structure from a pointer, and get the value $strString = DllStructCreate ( "char[128]" , $yourpointer) $myString = DllStructGetData ($strString, 1) but normaly use only "str" or "wstr" instead of "ptr" to get the Data from the API, because every String needs a pointer, and AutoIt now that. VoSs2o0o AutoItMacroGenerator on my Homepage (Link 2)
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