Jump to content

Create AutoIt DLL: is possible with ARRAY and ARRAY MULTIDIMENSIONAL?

Recommended Posts


I follow this posts:

1) https://www.autoitscript.com/forum/topic/123827-create-basic-dll-file-and-use-it-with-autoit/?page=2

2) http://www.autoitscript.ro/creare-biblioteci-dll/

They work perfect (with numbers and string), but I have a doubt, is possible GET/SET an array as parameter in DllCall?

Something like this:

Local $aNumber[3] = [ 10, 20, 30]

$TRY = DllCall($hDLL, "int*:cdecl", "SetArray", "int*", $aNumber)


Visit my repository

Share this post

Link to post
Share on other sites

Not as far I know.

Simulate an C array instead.


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


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.