Microsoft KB Archive/148323

BUG: ClassView Add Function or Var Fails If Header Files Moved

PSS ID Number: Q148323 Article last modified on 03-15-1996

4.00

WINDOWS NT

= SYMPTOMS =

Attempting to add a function or variable to a class by way of classview fails and returns this message:

One or more of the files for are read-only.

Here corresponds to the class that is selected.

= CAUSE =

This occurs if the header file for the class has been moved from its original directory.

= RESOLUTION =

To avoid the problem, don’t move the header files from their original location, or add member functions and variables manually if you must move the files.

= STATUS =

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

= MORE INFORMATION =

Moving the wizard-generated header files to another directory will result in their appearing as read-only when you attempt to use the classview add function or add variable commands. Even if you add the new directory to the include directory search path and update all dependencies, this behavior persists. The files are not read-only and can be opened for edit through all available avenues.

Additional reference words: 4.00 KBCategory: kbprg kbbuglist KBSubcategory: VWBIss ============================================================================= Copyright Microsoft Corporation 1996.