OutOfMemoryException in IEnumCATEGORYINFO.Next(UInt32 celt, CATEGORYINFO& rgelt)

By xhelixousinity

When the registry is corrupt (category’s GUID in Component Categories is invalid – does not include a trailing ‘}’)
Resolution:
try/except and call to Skip to skip the bad CategoryInfo

Leave a Reply