How VC++ uses ADO to open and close the recordset