Ich hab ein Dll-Strukt erstellt. Wenn ich nun den Wert auslese (GUI-Handle) funktioniert das leider nicht...
[autoit]
$dll=DllStructCreate("int;int;int;int;int;int;HWND;HWND");window,pos1,pos2,width,height,wert,maxwert
DllStructSetData($dll,1,$x)
DllStructSetData($dll,2,$y)
DllStructSetData($dll,3,$width)
DllStructSetData($dll,4,$height)
DllStructSetData($dll,5,$wert)
DllStructSetData($dll,6,$maxwert)
DllStructSetData($dll,7,guicreate(""))
DllStructSetData($dll,8,$GUI)
WinMove(DllStructGetData($dll,1),"",$x+($width/$maxwert)*$wert,$y)
ich habe auch schon DllStructCreate("int;int;int;int;int;int","HWND;HWND") probiert. Ich hoffe, es kann mir jemand erklären, welchen Typ ich nutzen muss, bzw. wie ich das genau machen muss.
MfG Kanashius