473,398 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

How can I tell if a DCOM server I am connected to has been destroyed?

How can I tell if a DCOM server I am connected to has been destroyed?

All,

I have a C# client app which connects to a C++/MFC DCOM server. The DCOM
server implements a sink object aswell as an interface on which the C#
client calls methods.

I need to know in my C# app if this server has disconnected and I'm unsure
of to how to do this. In C++ I could identify this in the destructor of the
sink object but C# does not provide such abilities.

I know we can add a method to the sink which I can detect and react
proactively, however if the DCOM server is killed or similarly shuts down in
an unintended way then I still need to cater for this.

Can anyone suggest a good way of doing this?

PT
Nov 17 '05 #1
0 830

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mike Carter | last post by:
DCOM people, I used to use TIBCO Rendezvous software to do the following, but I can't anymore, so I have implemented my solution using DCOM. I have a DCOM server component that receives events...
1
by: Prashanth Uppunda | last post by:
Hello, Does anybody have an idea on how to instantiate a DCOM server residing in another machine using C#? Thanks Prashanth
0
by: Paul Tomlinson | last post by:
How can I tell if a DCOM server I am connected to has been destroyed? All, I have a C# client app which connects to a C++/MFC DCOM server. The DCOM server implements a sink object aswell as...
1
by: tilbyj | last post by:
Hello, I am new to .NET, and am trying to write an application that connects to a DCOM server that we use. Wonderfully (unlike with ASP) I can now import the type library for my DCOM server, and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.