BUG: Component Category Registry Entries Not Removed in ATL Component (279459)
The information in this article applies to:
- The Microsoft Active Template Library (ATL) 3.0
This article was previously published under Q279459 SYMPTOMS
An ATL component can add component category entries under its CLSID in the registry by using CATEGORY_MAP macros. However, unregistering the component does not remove the CLSID key and the Implemented Categories subkey.
RESOLUTION
Instead of using the CATEGORY_MAP macros, you can use the .rgs file to add the Implemented Categories subkey and the CATIDs themselves. This method removes the entries correctly upon unregistration.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCES
Platform SDK Documentation, "What are Component Categories and how do they work?"
(c) Microsoft Corporation 2000, All Rights Reserved. Contributions by S. Ganesh, Microsoft Corporation.
Modification Type: | Major | Last Reviewed: | 10/22/2002 |
---|
Keywords: | kbBug kbDSupport kbRegistry KB279459 |
---|
|