Luigi Posted April 29, 2017 Share Posted April 29, 2017 Greetings, Something like this, is possible? #include <Array.au3> Local $str = "Struct;HANDLE arr;EndStruct" Local $aa = DllStructCreate($str) Local $arr[1] = ["teste"] $aa.arr = $arr _ArrayDisplay($aa.arr) Visit my repository Link to comment Share on other sites More sharing options...
RTFC Posted April 29, 2017 Share Posted April 29, 2017 Errm, no. You can stick a struct in an array, but not the other way around; not like that anyway. SInce you're defining a HANDLE in your example, I presume you really want access to the pointer to the array, not the data themselves. In that case, see here for extensive details on how to access AutoIt variables, courtesy of LarsJ. My Contributions and Wrappers Spoiler BitMaskSudokuSolver BuildPartitionTable CodeCrypter CodeScanner DigitalDisplay Eigen4AutoIt FAT Suite HighMem MetaCodeFileLibrary OSgrid Pool RdRand SecondDesktop SimulatedAnnealing Xbase I/O Link to comment Share on other sites More sharing options...
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