Plugin.RegDll.Reg "C:\path\dm.dll"
set dm = createobject("dm.dmsoft")
dm_ret = dm.SetPath("C:\path")
hwnd = dm.GetMousePointWindow()
dm.DmGuard HW1, "np"
TracePrint HW1
dm_ret = dm.BindWindow(HW1, "dx2", "windows", "windows", 101)
If dm_ret = 1 Then
TracePrint "绑定成功"
Else
TracePrint "绑定失败"
End If
dm_ret = dm.Capture(0,0,200,200,"screen.bmp")
我看你的 好像是前台额 , "normal", "windows", "windows" 试下看看