一段9行的代码,高手看看哪有问题。
HANDLE m_hShareInfo;
typedef struct share_info3d
{
double cx,cy;
double w,h;
}SHARE_INFO3D;
SHARE_INFO3D m_shareInfo;
CWnd *m_pWnd = NULL;
m_pWnd = FindWindow(NULL,"3D Display"); //row 62
D:\VCProjects\ProjectBSC\ProjectBSC.cpp(62) : error C2440: '=' : cannot convert from 'struct HWND__ *' to 'class CWnd *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast