Jump to content

function that return a pointer to a string.


Recommended Posts

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)

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...