COM connection timeout issue
- From: Sugan <Sugan@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 2 Apr 2009 09:10:04 -0700
I have a very strange issue with COM connection and it times out after a
while. I have searched and I couldn't find any more details about it.
1. I have two processes running (A and B). Process B has implemented a COM
object and a Connection Point Container.
2. Process A calls a method implemented in Process B. In that method,
Process B displays a Modal Window. So, Process A waits until this Modal
dialog is closed.
3. Process A implements Connection point sink and listens to the event
notifications from Process B.
4. Process B sends notifications to Process B on a timed basis. These
notifications are received and processed by Process A without any issues for
some time.
5. After some time (20 + minutes) the notifications doesn't reach Process B.
The Invoke method of the connection point container returns "System Error",
when the notificaion is fired to Process A.
6. If we close the Modal dialog, the control returns back to Process A. If
Process A calls the same method, the call backs are received for a while
until the timeout time (20+ mins) and then stops.
Any of you have seen similar issues? I am just wondering if this timeout
value could be controlled by any registry entries or any API calls?
I would appreciate any help on this matter.
.
- Follow-Ups:
- Re: COM connection timeout issue
- From: Giggle
- Re: COM connection timeout issue
- Prev by Date: Re: CoInitialize failure with many processes
- Next by Date: Re: CoInitialize failure with many processes
- Previous by thread: CoInitialize failure with many processes
- Next by thread: Re: COM connection timeout issue
- Index(es):
Relevant Pages
|