crocogator
May 4th, 2000, 04:16 PM
Can anyone help me with this one.
What i am trying to do is to minimize the number of connecitons to a database in a project, and my project is devided into different dlls. The main integrated form and the fuction/procedures would call the needed funcitons/procedures inside the relevant dlls. The problem is : i want to use only one connection to a database for this project, so, for that i need to pass the connection object to the called function/procedure inside the dll.
So, the question is "How do i pass the connection object into a method in a class of a dll?
Any help in the above subject, would be very much appreciated.
Thanks & Rgds.
crocogator
What i am trying to do is to minimize the number of connecitons to a database in a project, and my project is devided into different dlls. The main integrated form and the fuction/procedures would call the needed funcitons/procedures inside the relevant dlls. The problem is : i want to use only one connection to a database for this project, so, for that i need to pass the connection object to the called function/procedure inside the dll.
So, the question is "How do i pass the connection object into a method in a class of a dll?
Any help in the above subject, would be very much appreciated.
Thanks & Rgds.
crocogator