Getting memory pointer to variable

10/27/2020 22:27 [Beatrice]#1
I'd like to share an udf to get memory pointers to native variables in autoit. This function works by hooking internal autoit interpreter function for ByRef. Should work for every autoit version. Intended for dword/int/float/double/wchar variables.

Code:

Example and library is attached.
Detour.au3 by @buFFy!; at [Only registered and activated users can see links. Click Here To Register...]

04/26/2022 13:01 [Beatrice]#2
Updated. Replaced old script, which scanned for unique value, with internal autoit hook to get the pointer.