FIX: Registered Message in a USRDLL May Cause a GPF

ID: Q116303

1.00 WINDOWS kbprg kbfixlist kbbuglist

The information in this article applies to:

SYMPTOMS

Using a registered message in a USRDLL may cause a general protection fault (GPF).

CAUSE

The CWnd::WindowProc() function does not calculate the address of the registered message correctly.

RESOLUTION

To avoid the problem, do one of the following:

STATUS

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