Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Share connection into multiple EXE files

Status
Not open for further replies.

indrahig

Programmer
Mar 23, 2004
63
ID
Hi,
I'm building ADO base database application using multiple EXE file, one for each module. For each Exe file, it has its own ADO connection. So, if I run 3 modules then it has to be 3 connection to the database server. If possible, is there any way just to use one connection for all the modules in separate Exe files? I'm thinking about passing the connection component into other Exe files. Is that possible?

any suggestion will be much appreciated..

thanks,
Indra
 
Hi Indra,

you can use the TRDSConnection from the ADO tab. this way you can build multi-tier applications. look in the delphi helpfile for more information.

--------------------------------------
What You See Is What You Get
 
Well, so it is possible. Many thanks to whosrdaddy.
I'll check it out in Delphi Help and other resources.
Have a lot to learn.
Maybe you can give me a simple example on using that TRDSConnection.
Thanks anyway..
 
Indra,

you'll find demos under the delphi directory (look in Demos\Ado\Rds). there you'll find a server app and a client app.

Cheers

--------------------------------------
What You See Is What You Get
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top