Hi,

What is the preferred method of connecting to a DCOM server?
Once per client instantiation or for each call you need to make?

I'm maintaining a Delphi DCOM client app that uses it's own
database access for reading a remote database but commits all
changes through a DCOM server that enforces business rules and
communicates the changes a set of UNIX servers. The DCOM server
in effect guarantees the changes are only applied to the database
if they have been applied on the UNIX systems.

Anyway, the client app was written connect to the DCOM server at
start up and to disconnect on exit. If, for a variety of reasons,
the DCOM server hangs we have to get everyone to shut the clients
down (sometimes with taskmanager under NT) in order to restart the
server.

Are there any problems with connecting to a DCOM server "on demand"
when each update needs to be made and then disconnecting at the end
of the transaction? Each client might connect 20-50 times a day and
we have 10 client apps running at a time.

We're running client apps written in Delphi 3.02 C/S, a DCOM server
written in C++ Builder 3 and both clients and server are running under
NT 4 SP3.

Cheers,

Stephen Garner

--
Stephen Garner          ([EMAIL PROTECTED])
Analyst/Programmer
Computer Systems Engineering (NZ) Ltd, Hamilton, New Zealand
Phone: +64 7 838 2010   Fax: +64 7 838 0977

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to