RAD Studio |  |

E2180: Dispid number already used by identifier (C++)
Example
Collapse All

Dispids must be unique and the compiler checks for this.

Example
Copy Code

    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!