总结 Windows 消息队列的内容?
我们有一个 CF.NET 3.5 应用程序,在出现特定错误之前,它似乎可以正常工作大约 4 小时:一旦出现错误,在单击鼠标后,在调用相应的 ..._MouseDown 事件之前,会有大约 30 秒的延迟。这对我来说表明消息泵出现了一些损坏,或者可能是 Windows 消息队列中的内容过多。 任何人都可以提出有关如何攻击此错误的想法,特别是因为每次尝试至少需要 4 个小时来测试...
谢谢!
PS - 混合了大量非托管代码,C++ 错误是否会扰乱 .Net 消息队列?
We have a CF.NET 3.5 app that seems to work fine for about 4 hours before a specific bug appears: Once buggy, there is a delay of approx 30 seconds after a mouse click before the corresponding ..._MouseDown event is called. This indicates to me some corruption with the message pump, or possibly an excess amount of stuff in the windows message queue.
Can anybody suggest ideas on how to attack this bug, especially since every attempt takes at least 4 hours to test...
Thanks!
PS - loads of unmanaged code in the mix, can C++ bugs mess with the .Net message queue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
需要检查的一些要点:
Some points to check: