Automation in MFC (VC6 C++)

I am looking for an automation example in C++ (MFC, if possible VC6). I can't find any examples anywhere. Any help wouild be very much appreciated.

Thank you.