Result=m_pControl - & gt; CreateControl (m_clsid m_csName,
M_dwStyle m_rect, m_pParent m_nId, pPersist, m_bStore);
The definition of m_pControl CWnd * m_pControl;
. After the completion of the function execution m_pCntrol m_hWnd handle is null, the window is not created, VC6.0 environment executes the right, but the problems existing in the transplanted into VS2008 environment, Daniel out for help, advice genuflect is begged