The following problem has appeared: there is a class (ATL), which must implement several com-interfaces. Each of the interfaces declared unique [uuid]. However, when I try to call the implementations of the methods of these interfaces, I get the error.

Tell me, what can this be connected with?

    1 answer 1

    Or, in the description section of this class, you do not specify the interface you need in the block

    BEGIN_COM_MAP(CYourClass) COM_INTERFACE_ENTRY(IYourInterface) END_COM_MAP() 

    Alternatively, there is an error in the idl file and this interface is not specified there:

     coclass YourClass { interface IYourInterface; };