The GW-Scripting list is a discussion list for information regarding the development and use of Window-Eyes scripts. Any subscriber of the GW-Scripting list has the ability to post on-topic messages.

From:

 RicksPlace

Subject:

 The Object Invoked Has Disconnected From Its Clients Error in VBScript

Date:

 Mon, Apr 4, 2011 9:13:56 pm
charset="iso-8859-1"

Hi Guys:
First, has anyone seen the following error situation in a WindowEyes VBScript running Globally?
If so, how do you handle it?
Line 34 column 1
The Object invoked has disconnected from it's clients
0x80010108
Here is the code and the line causing the error:
BeginCopiedCode:
Sub OnObjectFocus( accObj )
If ( accObj Is Nothing ) Then
HotObj = "empty"
Exit Sub
End If
' RtNote: The below statement is line 34 and the offending statement:
accObj.Prefetch apAll
If TypeName( accObj.Name ) = "Empty" Then
.... rest removed for brevity.
set hotObj = accObj
End Sub
Here is a blurb I found on the particular error related to C++.
It is an RPC error, you'll see it when you use out-of-process COM. It tells you that
the server .exe stopped running. It probably bombed. Or decided to exit even though
there were still active interface references. That could be a reference count problem.
Or improper use of CAtlModule::Lock(). Etcetera, I can only guess. Debug the server
with Tools + Attach to Process and find out why it decided to quit.
Note that I don't have the tools nor do I have access to the WidnowEyes Server thingy so can't do any more research.
Should I just ignore the problem and continue processing or is this a fatle error?
If you have encountered it can you shed some light on what it means and how you handled it?
It is intermittant and doesn't happen often but it happens.
Rick USA