[BUG] must be a variable.

Post AHK_H specific scripts & libraries and discuss the usage and development of HotKeyIt's fork/branch
arcticir
Posts: 576
Joined: 17 Nov 2013, 11:32

[BUG] must be a variable.

15 Aug 2018, 00:45

Code: Select all

size:=6456546
VarSetCapacity(data,size,0)

loop size
RtlMoveMemory(&data+(a_index-1),&size,1)
Error: Parameter #1 of RtlMoveMemory must be a variable.

Line#
001: size := 6456546
002: VarSetCapacity(data,size,0)
004: Loop size
---> 005: RtlMoveMemory(&data+(a_index-1),&size,1)
006: MsgBox()
007: Exit
008: Exit
008: Exit

The current thread will exit.

Return to “AutoHotkey_H”

Who is online

Users browsing this forum: No registered users and 3 guests