RAD Studio
ContentsIndex
PreviousUpNext
E2180: Dispid number already used by identifier

Dispids must be unique and the compiler checks for this. 

 

struct__declspec(delphiclass) clxclass
{
__automated:
int __fastcall foo1(void) __dispid(42);// OK
int __fastcall foo2(void) __dispid(42);// Error
};
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!