LoginSignup
1
1

More than 3 years have passed since last update.

UWSC: ie11でのcomエラー

Posted at

画面遷移時のcomエラーに対処する。

//追加
DEF_DLL SendMessageA(Hwnd,Long,Long,Dword): bool: user32.dll
CONST WM_ACTIVATE = $06

procedure ieWait(ie)
    repeat
        sleep(0.1)
    until (!ie.busy) and (ie.readystate = 4)
    sleep(0.2)
    SendMessageA(ie.Hwnd, WM_ACTIVATE, 0, 0)//追加
fend
 //sleep()も適切に必要
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1