脚本运行一段时间后,调用Everything.dll查询文件就会失败,Reload后就正常?

遇到了问题?请先进行搜索(中文和英文),然后在此提问
hyaray
Posts: 5
Joined: 20 Jun 2015, 01:37

脚本运行一段时间后,调用Everything.dll查询文件就会失败,Reload后就正常?

20 Jun 2017, 09:46

脚本运行一段时间后,下面代码就一直Tooltip Query失败,错误代码为2,用Everything软件查询却是正常的,脚本Reload后就一切正常。
去Everything官网查询错误代码,原因为EVERYTHING_ERROR_IPC,IPC is not available.
附上Everything SDK网址:http://www.voidtools.com/support/everything/sdk/everything_getlasterror/
请问这种问题如何排查和解决呢??

Code: [Select all] [Download] GeSHi © Codebox Plus

ev := New Everything
ev.SetSearch("设备清单及资料查询.xls")
If !ev.Query()
ToolTip,% "Query失败`n" . ev.GetLastError()
Else
MsgBox,% ev.GetResultFullPathName(0)
Return
Last edited by hyaray on 23 Jun 2017, 08:55, edited 1 time in total.

Return to “请求帮助”

Who is online

Users browsing this forum: No registered users and 1 guest