E2180 Dispid number already used by identifier (C++)
Go Up to Compiler Errors And Warnings (C++) Index
Dispids must be unique and the compiler checks for this.
Example:
struct__declspec(delphiclass) clxclass { __automated: int __fastcall foo1(void) __dispid(42);// OK int __fastcall foo2(void) __dispid(42);// Error };