附件內請加入RegDLL.DLL,dm.dll
PutAttachment ".\plugin", "RegDll.dll"
PutAttachment ".\plugin\dm", "dm.dll"
PutAttachment ".\plugin", "*.bmp"
Plugin.RegDll.Reg (Plugin.sys.GetDir(0) + "\plugin\dm\dm.dll")
set dm = createobject("dm.dmsoft")
dm.SetPath ".\plugin"
dm.SetShowErrorMsg(0)
hwnd = dm.FindWindow("", "") // < = "窗口類名","窗口名稱" 自行修正
dm_ret = dm.BindWindow(hwnd, "gdi", "windows", "windows", 0) //< 綁定模式 自行抓取
|