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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

instantiating a dll...

Status
Not open for further replies.

Fursten

Programmer
Dec 27, 2000
403
PT
Hi,

I have one main application that instanciate one dll. In the main application I make the connection to the database. What I pretend is to be able to use, in the dll, the connection that I instanciate in the main application... Does this make any sense?

I ask this, because if I need to declare and instanciate the same connection inside the dll it seems that I will be duplicating my code (as they run in the same address space)

Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top