使用Mfc编写com,用ClassWizard生成一个类,从CCmdTarget继承来,Automation里有None、Automation与Createable by type ID三个选项。有什么区别?