PRB: Debug Assertion Failure When Accessing Parameters Page

ID: Q207580


The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK)
  • Microsoft Windows NT Server, Enterprise Edition version 4.0, used with:
    • Microsoft Cluster Server


SYMPTOMS

Accessing the parameters page of a custom resource from within the Cluster Administrator may generate the following error:

Debug Assertion Failed
File: wincore.cpp
Line: 307


CAUSE

One cause for this error is an attempt to use an administrator extension DLL that was built with the static Microsoft Foundation Classes (MFC) libraries.


RESOLUTION

Rebuild the Cluster Administrator extension DLL using the shared MFC library. To change this under Microsoft Visual C++ 5.0 or 6.0:

  1. Open your project in Visual C++.


  2. On the Project menu, click Settings, and then click the General tab.


  3. In the Microsoft Foundation Classes box, select Use MFC in a shared DLL.


  4. Click OK to rebuild the project.



STATUS

This behavior is by design.


MORE INFORMATION

The parameters page is displayed by the administrator extension associated with the resource type.

The admin extension is an MFC extension DLL called by Cluster Administrator to display and accept information specific to a custom resource type. MFC extension DLLs must use the shared MFC library in order to successfully use objects passed in by the calling application.

Additional query words:

Keywords : kbSDKWin32 kbGrpPlatform kbDSupport kbcluster
Version : WINDOWS:; winnt:4.0
Platform : WINDOWS winnt
Issue type : kbprb


Last Reviewed: September 24, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.