The information in this article applies to:
SYMPTOMS
When you use the protected CWnd member m_nMsgDragList in an application or
DLL that is linked to the MFC shared DLL, a LNK2001 unresolved external
error occurs.
CAUSECWnd::m_nMsgDragList is not exported from the MFC DLL. RESOLUTIONTo workaround this problem, call RegisterWindowMessage with the DRAGLISTMSGSTRING message and use the value returned instead of CWnd::m_nMsgDragList. For example:
STATUSThis behavior is by design. MORE INFORMATIONCWnd::m_nMsgDragList is an undocumented member of the CWnd class and is subject to change. The most common use of CWnd::m_nMsgDragList occurs when you override OnChildNotify in a CWnd derived class. © Microsoft Corporation 1998, All Rights Reserved. Additional query words: kbMFC kbVC500
Keywords : |
Last Reviewed: January 25, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |