Re: Fields not longer available when subclassing the _RecordsetPtr

From: Marc G (MarcG_at_discussions.microsoft.com)
Date: 01/25/05


Date: Tue, 25 Jan 2005 10:23:05 -0800


"Stephen Howe" wrote:
> _COM_SMARTPTR_TYPEDEF(TypeOneRecordSet, __uuidof(_TypeOneRecordSet));
>
Stephen, I followed the template of _Recordset in the msado15.tlh to define
my subclassed record set (with a "struct" keyword not a "class" keyword?).
How do I get or create the uuid needed for the smart pointer definition and
do I need to register this uuid. The program compiles but does generates an
COM error "class not registered" when I give it an arbitrary uuid. Thanks