|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Pattern for handling method-call-hang ??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 See:
Including Asynchronous Calls http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconasynchronousprogramming.asp -- Show quoteHide quoteBest 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" <smole***@hotmail.com> escribió en el mensaje news:%23CS$u95MGHA.2560@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 > > >
Reference to a variable
Which collection object to use similar to SortedList\Hashtable Replace Selected Text printing problem with dotmatrix printer using vb.net Different Approaches to Saving settings: Which is better? Properties of a Property BindingSource.AddNew Windows XP Style How to load hierarchical Db data in treeview?? Activating Windows Forms |
|||||||||||||||||||||||