pRstSchema->MoveNext(); } // Clean up objects before exit.
pRstSchema->Close(); pConnection->Close(); }
catch (_com_error e) { // Notify the user of errors if any. // Pass a connection pointer accessed from the Connection. PrintProviderError(pConnection); PrintComError(e); } CoUninitialize(); }