🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.database
Article #66

Problems with Remote Datamodule

#66
From: Chris
Date: Thu, 07 Oct 2004 09:19
31 lines
1989 bytes
Hi there,

I have a server and client application and now i want to access some
records in a database. The setup i have now is that the client
connects to the server using a dcom connection and then uses a
clientdataset to get the data.

The server has an ado connection to the database and uses ado queries
to get the requested data. In between there is a dataprovider to link
the clientdataset to the ado queries.

This all works and i get the correct data but i have 3 problems:

1) The connection is really slow. It takes 0,3 seconds to get 1
dataset.
2) The client doesn't realise that the server is allready started and
starts another server. So if my server is started in the general
terminal session and a client request comes in another instance of the
server executable is started. When the client isn't finished this
instance also isn't closed. This is a problem propably caused by the
dcom part in combination with the terminal server.
3) I can't use another ado connection in my general datamodule
(outside the remote datamodule). It says then that the datasource
isn't found. This isn't a big problem but it would be great if it gets
resolved.

Thanks in advance!

With kind regards,

Chris
Technical Details
Message-ID: <7f59a3ab.0410070119.5f2f3dfc@posting.google.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 115d96,de823c3ea79686e4,start
X-Google-Attributes: gid115d96,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews1.google.com!not-for-mail
From: chris.arets@pcdata.nl (Chris)
Newsgroups: borland.public.delphi.database
Subject: Problems with Remote Datamodule
Date: 7 Oct 2004 02:19:43 -0700
Organization: http://groups.google.com
Lines: 31
Message-ID: <7f59a3ab.0410070119.5f2f3dfc@posting.google.com>
NNTP-Posting-Host: 213.84.199.23
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1097140783 13408 127.0.0.1 (7 Oct 2004 09:19:43 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 7 Oct 2004 09:19:43 +0000 (UTC)