Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Connecting/Disconnecting using C++ Expand / Collapse
Posted Tuesday, June 14, 2005 3:39 PM

SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Tuesday, April 7, 2009 10:04 AM
Points: 28, Visits: 3

Hello fellow SQLers.

I am having a problem disconnecting properly using C++, I am creating an ADO reference to open to the database and once I process a query, I am disconnecting right away (or so I think I am).

I am using smart pointers and it seems that even though I have asked the program to disconnect from the database, its still connected as far as Enterprise Manager is concerned?

Is there a trick or am I just forgetting something silly?

Post #190602
Posted Friday, June 17, 2005 8:00 AM


Group: General Forum Members
Last Login: Friday, May 18, 2007 3:36 PM
Points: 10,041, Visits: 1
No one has responded to this topic yet. Even if you don't have a complete answer, the original poster will appreciate any thoughts you have!
Post #191671
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse