As an aid to the C++ developer, two scope-aware template classes are defined in Sqldmo.h. The classes wrap OLE objects, implementing application-held reference release when an instance of the class is reused in an assignment or when the instance goes out of scope.