Export (0) Print
Expand All
Expand Minimize

ATL Provider Error ATL2033

Failed to compile RGS. Value value specified in script not found in attribute block.

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

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

// ATL2033.cpp
// compile with: /c
// ATL2033 expected
#include <atlbase.h>
#include <atlcom.h>

[ coclass, registration_script("ATL2033.rgs") ]
// to resolve, change the previous line to
// [ coclass, registration_script("ATL2033.rgs"), threading(both) ]
class CATL2033

Then the RGS file:

 val ATL2033 = s '[!threading(threading)]'

Community Additions

© 2014 Microsoft