BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

About ADO connections and DLL

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO)
View previous topic :: View next topic  
Author Message
Pablo Romero
Guest





PostPosted: Wed Jan 18, 2006 4:06 pm    Post subject: About ADO connections and DLL Reply with quote



This is an interesant question :)

I have Delphi 2006. I'm programming "extensions" to a main application that
is made by another corporation in VB.
And I made it fine. Works beautiful.

The extensions are all DLL. The main server: Microsoft SQL 2000 Server.
It's fine. All works fine.

Every extension is a DLL. Every DLL has a lot of units. And ONE Data
Module -i love this-.

But I'm very worried about the following.

All DLL's have lot of procedures inside, and sometimes one calls each other.

Every procedure create one instance of the Data Module and the DataModule
creates a SQL connection.

So, every connection consumes one license on the SQL server.

My question:

I would like to create one DLL for the connection with the server and I want
that all my DLLs uses that "dll connector" to work. is this possible? how?
If the ADO Connection component is inside this "DLL connector" , How can
the-others-DLL access to this ADO Connection?

Regards,

Pablo Romero
www.pabloromero.com.ar


Back to top
Steve Zimmelman
Guest





PostPosted: Wed Jan 18, 2006 7:48 pm    Post subject: Re: About ADO connections and DLL Reply with quote



Quote:
So, every connection consumes one license on the SQL server.

I do not believe this is accurate. I believe each computer/workstation is
considered a client or license. Not each connection.

-Steve-



Back to top
Pablo Romero
Guest





PostPosted: Thu Jan 19, 2006 2:46 pm    Post subject: Re: About ADO connections and DLL Reply with quote



My friend: are you sure the connection is not a license? If the answer is
"yes", The sky will open and the Justice will prevail :)

"Steve Zimmelman" <skz (AT) charter (DOT) nospam.net> wrote

Quote:
So, every connection consumes one license on the SQL server.

I do not believe this is accurate. I believe each computer/workstation is
considered a client or license. Not each connection.

-Steve-





Back to top
Steve Zimmelman
Guest





PostPosted: Thu Jan 19, 2006 7:31 pm    Post subject: Re: About ADO connections and DLL Reply with quote

Yes, I am fairly sure. If each AdoConnection was equal to one client
license, I think my applications would be crashing all over the place. Wink
It would also make development extremely difficult.

If you want to ease your mind, just create an application with 20
connections and run it against a 5 or 10 client server.

-Steve-

"Pablo Romero" <info (AT) pabloromero (DOT) com.ar> wrote

Quote:
My friend: are you sure the connection is not a license? If the answer is
"yes", The sky will open and the Justice will prevail :)

"Steve Zimmelman" <skz (AT) charter (DOT) nospam.net> wrote in message
news:43ce9aca$1 (AT) newsgroups (DOT) borland.com...
So, every connection consumes one license on the SQL server.

I do not believe this is accurate. I believe each computer/workstation
is
considered a client or license. Not each connection.

-Steve-







Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.