Jump to content
Sign in to follow this  
wrl

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

Recommended Posts

wrl

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

Share this post


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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.