1

Topic: RICHEDIT50W Both CRichEditCtrl and VC ++ 2013

Greetings class ChatCtrl: public CWindowImpl <ChatCtrl, CRichEditCtrl>... At its creation const auto l_res = ctrlClient. Create (m_MessagePanelHWnd, m_MessagePanelRECT, NULL, WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_VSCROLL | ES_AUTOVSCROLL | ES_MULTILINE | ES_NOHIDESEL | ES_READONLY, WS_EX_STATICEDGE, IDC_CLIENT); if (! l_res) {dcdebug ("Error create BaseChatFrame:: createChatCtrl %s", Util:: translateError ().c_str ()); dcassert (0);} else {ctrlClient. LimitText (0); ctrlClient. SetFont (Fonts:: g_font); After passage on VC ++ 2013 c 2010 began to fall in debugging here such error: C:\Program Files (x86) \Microsoft a Visual Studio 12.0\VC\atlmfc\include\atlwin.h (5275): atlTraceWindowing - ERROR: Could not obtain Window Class information for RICHEDIT50W Error create BaseChatFrame:: createChatCtrl [error: 1411] Assertion hit in windows\BaseChatFrame.cpp (61): 0 in WTl here such code//Try global class if (! T:: GetClassInfoEx (NULL, p-> m_lpszOrigName, &wc)) {//try process local if (! T:: GetClassInfoEx (pBaseModule-> m_hInst, p-> m_lpszOrigName, &wc)) {ATLTRACE (atlTraceWindowing, 0, _T ("ERROR: Could not obtain Window Class information for %s\n"), p-> m_lpszOrigName); return 0;} } Thus in release all works also a window forms I can not that broke. A platform exposed a Visual Studio 2013 - Windows XP (v120_xp) it is necessary that application worked under Win XP