vc6.0写word2007 首先创建类CWordOffice,类的type是Generic Type。然后,在Class Wizard->Automation->add class->from a type library中选中Microsoft office 安装目录下office12文件夹下面的MSWORD.dll,然后点击OK。再然后,会出现好多COM类,此时全部选择他们,点击OK,回到Class Wizard再点击OK