问题描述
Hi Team,
我在C ++应用程序中使用类CWindowImpl的Create窗口方法(Application是使用Visual Studio 6.0构建并在Windows 10上运行)。下面是我的方法调用格式。
此调用导致应用程序崩溃,
m_hmyWnd = Create(:: GetDesktopWindow(),rect,NULL,WS_CHILD) ;
GetDesktopWindow()独立调用时运行良好。你可以帮我确定一下这个问题吗?
谢谢,
Prasad
Prasad B
Hi Team,
I am using Create window method of the class CWindowImpl in C++ application (Application is build using Visual studio 6.0 and running on Windows 10). Below is my calling format for the method.
This call causes the application to crash,
m_hmyWnd = Create(::GetDesktopWindow(), rect, NULL, WS_CHILD);
GetDesktopWindow() when called independently is working well. Can you please help me to identify the issue?
Thank you,
Prasad
Prasad B
这篇关于创建类CWindowImpl的窗口方法导致应用程序崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!