An ATL class as member of another ATL Class

Jun 22, 2016 at 1:40pm
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.

Thanks in advance
Topic archived. No new replies allowed.