Using NULL to Close the DB connection after Close()
COM
2
Posts
2
Posters
0
Views
1
Watching
-
Hi I open a DB connection using the _ConnectionPtr pointer. After using the connection I call the Close() and set the pointer to NULL. When I set the pointer to NULL an exception is generated. Pleae let me know is it really required to set the object to NULL after Close(). Thanks in Advance
-
Hi I open a DB connection using the _ConnectionPtr pointer. After using the connection I call the Close() and set the pointer to NULL. When I set the pointer to NULL an exception is generated. Pleae let me know is it really required to set the object to NULL after Close(). Thanks in Advance