Export (0) Print
Expand All
Expand Minimize

ATL Provider Error ATL2034

Failed to compile RGS. Script file filename  not found.

The file specified in the registration_script attribute does not exist.

The following sample generates ATL2034. To resolve the error, change nonexistent.rgs to the name of an RGS file.

// ATL2034.cpp
// compile with: /c
// ATL2034 expected
#define _ATL_ATTRIBUTES
#include <atlbase.h>
#include <atlcom.h>
 
[ 
 coclass,
 registration_script("nonexistent.rgs")
]
class CATL2034
{
};

Community Additions

ADD
Show:
© 2014 Microsoft