Microsoft KB Archive/181491

= PRB: MFC Generic App Resources Cannot Interact with Desktop =

Article ID: 181491

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Server 4.0 Enterprise Edition
 * Microsoft Cluster Server 1.1

-



This article was previously published under Q181491



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 when a window is created. 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 that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: MSCS server cluster

Keywords: kbbug kbpending KB181491

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.