我得到以下异常。
ndde.ddeexception:客户端未能要求 " firefox | www_getwindowinfo!url"。---> ndde.foundation.ddemlexception: 客户未能请求" firefox | www_getwindowinfo!url"。
我正在使用的代码
using NDde.Client;
.
.
.
DdeClient dde = new DdeClient("Firefox", "WWW_GetWindowInfo");
dde.Connect();
retVal = dde.Request("URL", int.MaxValue);
dde.Disconnect();
MatchCollection match = Regex.Matches(retVal, ""([^"]*)"");
if (match.Count > 0)
{
retVal = match[0].Value.Replace(@"""", string.Empty);
}
如果我从两个不同的插件中调用上述代码,我会遇到问题。如果我禁用一个插件正常工作。
需要帮助。
Firefox不允许从同一客户端进行多个同时连接。