BUG: "A Runtime Error Has Occurred" Error Message When You Add Generic C++ Class to a Make File Project (315475)



The information in this article applies to:

  • Microsoft Visual C++ .NET (2002)
  • Microsoft Visual C++ .NET (2003)

This article was previously published under Q315475

SYMPTOMS

When you try to add a generic C++ class to a make file project, the operation fails and you receive the following error message:
A Runtime Error has occurred.
Do you wish to Debug
Line: 2454
Error: Object Required

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce the Problem

  1. Create an empty solution.
  2. In the Solution Explorer, select the Solution node.
  3. On the File menu, point to Add Project, and then click New Project.
  4. In the Add New Project Wizard, select a Make File project. Accept the defaults.
  5. In Class View in the Solution Explorer window, select the project that you added in step 4. On the Project menu, click Add Class, and then click Generic C++ class. Complete the fields in the Add Class dialog box, and then click Finish.
You receive the error message described in the "Symptoms" section of this article.

Modification Type:MajorLast Reviewed:4/11/2003
Keywords:kbbug kberrmsg kbnofix KB315475