ID: Q116303
1.00 WINDOWS kbprg kbfixlist kbbuglist
The information in this article applies to:
Using a registered message in a USRDLL may cause a general protection fault (GPF).
The CWnd::WindowProc() function does not calculate the address of the registered message correctly.
To avoid the problem, do one of the following:
-or-
#ifndef _WINDLL
to
#ifndef _AFXDLL
After making this change, rebuild the USRDLL version of the MFC library by following the procedure outlined on page 303 of Appendix B in the "Class Library User's Guide."
Microsoft has confirmed this to be a problem in Visual C++ for Windows, version 1.0. This problem was corrected in Visual C++ for Windows, version 1.5. This is not a problem in Visual C++ 32-bit Edition.
Additional reference words: 1.00 2.00 KBCategory: kbprg kbfixlist kbbuglist KBSubcategory: MfcDLL
Keywords : kb16bitonly kbDLL kbMFC kbVC kbbuglist kbfixlist
Version : 1.00
Platform : WINDOWS
Solution Type : kbfix
Last Reviewed: September 21, 1997