PRB: MFC Generic App Resources Cannot Interact with Desktop

Last reviewed: March 20, 1998
Article ID: Q181491
The information in this article applies to:
  • Microsoft Windows NT Server, Enterprise Edition version 4.0 - Microsoft Cluster Server

SYMPTOMS

Microsoft Foundation Class (MFC)-based applications, when launched from Microsoft Cluster Server and set to interact with the desktop, will fail with an Abnormal Program Termination error message being displayed.

CAUSE

The MFC library attempts to set a computer based training (CBT) hook upon startup. This operation is not allowed on the interactive desktop when the program is not running in the current logon session of the interactive user.

RESOLUTION

If you are using an MFC application as a Microsoft Cluster Server resource, you can resolve the problem in one of the following ways:

  • Do not set the MFC application to interact with the desktop.
  • Start Cluster Server in debug mode by using the "clussvc -debug" command line in the %WinDir%\Cluster directory.

    NOTE: You must first stop the Cluster Server service first using the Control Panel Services tool.

STATUS

Microsoft has confirmed this to be a problem in Windows NT Server, Enterprise Edition version 4.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional query words: MSCS
Keywords : kbbug4.00 NTSrv
Version : WinNT:4.0
Platform : winnt
Issue type : kbbug
Solution Type : kbpending


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 20, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.