By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,033 Members | 1,285 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,033 IT Pros & Developers. It's quick & easy.

Pattern for handling method-call-hang ??

P: n/a
Hi

I'm creating an application which calls another application using COM,
however sometimge this other application hangs, and my call never returns or
fail.

Is there a god pattern for handling thise kind of situations?? What I'd like
is something like a timeout exception, bt how d I implement that, when the
call doesn't support it by itself.

TIA

Søren

Feb 17 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
See:

Including Asynchronous Calls
http://msdn.microsoft.com/library/de...rogramming.asp

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
"Søren M. Olesen" <sm******@hotmail.com> escribió en el mensaje
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi

I'm creating an application which calls another application using COM,
however sometimge this other application hangs, and my call never returns
or fail.

Is there a god pattern for handling thise kind of situations?? What I'd
like is something like a timeout exception, bt how d I implement that,
when the call doesn't support it by itself.

TIA

Søren

Feb 17 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.