如何在Windows应用程序中处理WM_DDE消息(开始+ D)消息 [英] How to handle WM_DDE message (Start + D ) message in a windows application
问题描述
如何在Windows应用程序中处理WM_DDE消息(开始+ D)消息?
就像其他消息一样,在主窗口的窗口过程的switch语句中为这些消息编写案例.在MFC中,DDE支持是内置的CFrameWnd.
请记住在处理消息时不要运行阻塞代码,或者更好的是,根本不使用DDE进行进程间通信.自1990年以来未进行过任何改进, 易于被僵尸窗口阻止.您可以使用其后继COM(更快,更可靠),或者 其他替代方法.
How to handle WM_DDE message (Start + D ) message in a windows application ?
Just like other messages, writing cases for these messages in the switch statement in the main window's window procedure. In MFC the DDE support is built-in CFrameWnd.
Remember to not run blocking code when handling messages, or better, do not use DDE for inter-process communication at all. It has not been improved since 1990 and is prone to blocking by zombie windows. You can use its successor COM (which is faster and more reliable), or other alternatives.
这篇关于如何在Windows应用程序中处理WM_DDE消息(开始+ D)消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!