E2180 ディスパッチ ID はすでに 'identifier' で使われている (C++)
DispId は一意である必要があります。コンパイラはこれをチェックします。
次に例を示します。
struct__declspec(delphiclass) clxclass
{
__automated:
int __fastcall foo1(void) __dispid(42);// OK
int __fastcall foo2(void) __dispid(42);// エラー
};