Word 2016使用Word应用程序上的DispEventAdvise注册MS Word对象的事件会导致光标在关闭文档上永久旋转 [英] Word 2016 register events of MS Word objects using DispEventAdvise on Word applicationevents causes cursor to spin forever on close document

查看:183
本文介绍了Word 2016使用Word应用程序上的DispEventAdvise注册MS Word对象的事件会导致光标在关闭文档上永久旋转的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




在C ++ / MFC com加载项中,MS Word 2016使用DispEventAdvise对Word应用程序事件注册MS Word对象的事件会导致当用户关闭Word文档时,等待光标永远旋转 从后台。对于以前版本的MS Word(2007年,2010年,2013年),相同的加载项工作
罚款。

In C++/MFC com add-in for MS Word 2016 registering events of MS Word objects using DispEventAdvise on Word applicationevents causes the wait cursor to spin forever when a user closes a Word document  from the backstage . The same add-in works with fine for previous version of MS Word (2007, 2010, 2013).

对于需要在DocumentBeforeClose上处理的Word 2016做了一些更改事件或需要将其他信息传回Word应用程序?

Did something changes with Word 2016 that needed to be handled on DocumentBeforeClose event or need to pass back additional info to Word application?

谢谢




推荐答案

你好Maneesh,b

Hi Maneesh,

说实话,我对C ++ / MFC不是很熟悉。您是否介意使用C#VSTO加载项测试您的需求以检查此问题是否仍然存在?

To be honesty, I am not very familiar with C++/MFC. Would you mind test your requirement with C# VSTO add-ins to check whether this issue still exist?

最好的问候,

Best Regards,

Edward


这篇关于Word 2016使用Word应用程序上的DispEventAdvise注册MS Word对象的事件会导致光标在关闭文档上永久旋转的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆