E2002 __automated セクションでは __fastcall 関数しか使用できない (C++)
__automated セクションで宣言される関数の呼び出し規約は __fastcall である必要があります。
次に例を示します。
struct__declspec(delphiclass) clxclass
{
__automated:
int__fastcall fooInt(int);// OK
int__cdecl barInt(int);// エラー
};