kann mir wer sagen, wie ich den folgenden Code auf X64 zum laufen bringen kann?
Code: Alles auswählen
EnableExplicit
Prototype.i ProtoAccessibleObjectFromPoint (x.l, y.l, *IAcc, *vt)
Define hDll.i
Define vt.VARIANT
Define CursorPos.point
Define *pIAcc.IAccessible
Define AccessibleObjectFromPoint.ProtoAccessibleObjectFromPoint
CoInitialize_(0)
hDll = OpenLibrary (#PB_Any, "Oleacc.dll")
AccessibleObjectFromPoint=GetFunction (hdll, "AccessibleObjectFromPoint")
GetCursorPos_(@CursorPos)
If AccessibleObjectFromPoint (CursorPos\x, CursorPos\y, @*pIAcc, @vt) = #S_OK
Debug "OK"
EndIf