我在VC中用Automation打开了WORD,嵌入了图片,最后关闭的时候,参数不知怎么弄.谢谢.....
_Application app;
if(!app.CreateDispatch("Word.Application"))  
{
  AfxMessageBox("Couldn't start WORD.Please install MSWORD before using this function");
  return;
}
.......//嵌入了图片....
//现在我要关闭WORD
app.Quit(COleVariant((long)1),COleVariant((long)3),COleVariant((short)FALSE));//运行时提示参数错误有人弄过WORD的帮忙一下....今天等,明天等,后天等,没人来继续等,等到为止.