BUG: "Object Required" Error Message When You Add an ATL Object in Visual Studio .NET on a Computer Running Windows NT (323515)
The information in this article applies to:
- Microsoft Visual C++ .NET (2002)
- Microsoft Windows NT Workstation 4.0
This article was previously published under Q323515 SYMPTOMS
On a computer running Windows NT, when you try to add a lot of simple objects to an ATL project in Visual Studio .NET, you receive the following error message.
Object Required
This behavior does not occur on a computer running Windows 2000 or Windows XP.
CAUSE
When you run any combination of the wizards 64 times on a computer running Windows NT 4.0, the operating system runs out of thread local storage (TLS) indexes for the Visual Studio .NET IDE process.
This behavior does not occur on a computer running Windows 2000 or Windows XP because 1024 TLS indexes are available.
RESOLUTION
To resolve this problem, close the Visual Studio .NET IDE (Devenv.exe), reopen the IDE, and then try to add the simple object again.
NOTE: You may have to delete code modules that were added by the last invocation of the wizards because these modules may not be completely created.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
94804 INFO: Thread Local Storage Overview
Modification Type: | Major | Last Reviewed: | 7/29/2002 |
---|
Keywords: | kbbug kbwizard KB323515 |
---|
|