This documentation is archived and is not being maintained.

ATL Provider Error ATL2032

Failed to compile RGS. Attribute attr specified in the script not found in attribute block.

The RGS file references an attribute that is not in the attribute block.

The following sample files generate ATL2032. First the C++ file:

#define _ATL_ATTRIBUTES
#include <atlbase.h>
#include <atlcom.h>
 
[ 
 coclass,
 registration_script("atl2032.rgs")
]
class CATL2032
{
};

Then the RGS file:

HKLM
{
 val testval = s '[!noncreatable]'
}

Note that the RGS file references the noncreatable attribute, which does not exist in the attribute block. To resolve the error, change noncreatable to coclass.

Show: