Article ID: 323515 - View products that this article applies to.
This article was previously published under Q323515
This article has been archived. It is offered "as is" and will no longer be updated.
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.
This behavior does not occur on a computer running Windows 2000 or Windows XP.
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.
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.
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
To reproduce the problem, follow these steps:
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/94804/EN-US/ )INFO: Thread Local Storage Overview
Contact us for more help