The solution is to give each module (application or regular DLL) its own copy of this global state information.
解决方法是给予每个模组 (应用程式或标准DLL)它自己的全域状态资讯的复本。
The MFC common window procedure automatically switches to the correct module state, so you do not need to worry about it in any message handlers implemented in your regular DLL.
MFC 的通用窗口过程会自动切换到正确的模块状态,因此您无需担心在规则DLL中实现的任何消息处理程序中的模块状态。
The MFC common window procedure automatically switches to the correct module state, so you do not need to worry about it in any message handlers implemented in your regular DLL.
MFC 的通用窗口过程会自动切换到正确的模块状态,因此您无需担心在规则DLL中实现的任何消息处理程序中的模块状态。
应用推荐