RAD Studio
ContentsIndex
PreviousUpNext
E2180: Dispid number already used by identifier (C++)

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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!