I have an C++ ATL COM DLL (VS2015) with two ATL Clasess, and I would like to add one of them as a member of the other ATL class.
How should I do it?
I tried adding the member as the type CMyClass*, MyClass*, IMyClass, also as CComObject<CMyClass>*. But I could do it? An project example could be very usefull but I didn't find any in Internet.