我正在尝试打开word文档,如下所示。
wordDocument = wordApplication.Documents.Open(ref paramSourceDocPath,
ref paramMissing, ref paramMissing, ref paramMissing, ref paramMissing,
ref paramMissing, ref paramMissing, ref paramMissing, ref paramMissing,
ref paramMissing, ref paramMissing, ref paramMissing, ref paramMissing,
ref paramMissing, ref paramMissing, ref paramMissing);
我收到错误尝试读取或写入受保护的内存。
答案 0 :(得分:-1)
我很确定所有那些paramMissing引用参数都是你的问题。