Jump to content

passing char** to DLLCall - pointer to pointer to char


wrl
 Share

Recommended Posts

I would like to use DLLCall to call a function that passes a string value through a double pointer.

The dll was not written by me, and I cannot modify it.

From C++, the function is called as:

char buf[100]

char* pbuf = buf

char** ppbuf = &pbuf

dllfunction(ppbuf)

The result of this call is that dllfunction writes a null terminated character string into buf.

Can this be called from AutoIt? Any help would be greatly appreciated

Link to comment
Share on other sites

  • 4 weeks later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...