Board index » delphi » An outgoing call cannot be made since the application is dispatching an input-synchronous call

An outgoing call cannot be made since the application is dispatching an input-synchronous call

I get the following message "An outgoing call cannot be made since the
application is dispatching an input-synchronous call"

When this happens, my application is calling an in-process COM object
that in turn is trying to access an out of process COM object.

App --> Inproc Com Obj --> Outproc Com Obj

Does anybody know why ?

 

Re:An outgoing call cannot be made since the application is dispatching an input-synchronous call


<<Stephan:
"An outgoing call cannot be made since the
application is dispatching an input-synchronous call"

Quote

"Automation clients are required by COM to process
input-synchronous calls without interruption, and therefore
are prevented from making outgoing Automation calls while
processing such messages."
http://support.microsoft.com/support/kb/articles/Q190/5/23.
The usual workaround is to post a Win32 message, and have
your COM object handle that message.

--
Deborah Pate (TeamB) http://delphi-jedi.org

  Use Borland servers; TeamB don't see posts via ISPs
  http://www.borland.com/newsgroups/genl_faqs.html

Other Threads