开发者

Stop EIdWinsockStubError, WSACancelBlockingCall error appearing when closing Internet Explorer

I have an ASP.NET application where one of the pages hosts a 3rd party ActiveX control. A condition can sometimes occur with the ActiveX control that causes the following error message to be displayed in a Windows dialog box when Internet Explorer is closed:

Exception EIdWinsockStubError in module CADVIE~1.OCX at 0029A808.

Error on call to Winsock2 library function WSACancelBlockingCall: 
Either the application has not called WSAStartup, or WSAStartup failed.

Without any intervention from the suppli开发者_如何学Cers of the ActiveX control can I suppress this message.


EIdWinsockStubError is an exception thrown by the Indy library when it fails to dynamically load a WinSock function using LoadLibrary() and GetProcAddress(). In this case, something in the OCX is calling Indy's WSACancelBlockingCall() stub after Indy has already unloaded WinSock from memory. Indy itself does not use WSACancelBlockingCall() at all, so it has to be a bug in the OCX's own code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜