i'm calling ICatInformation::EnumClassesOfCategories and it works fine, except on this one machine when it logs in as a standard user. At first i assumed that the user must not have access to those specific registry keys, but if i log in as that user, i can see the keys without problems. HKEY_LOCAL_MACHINE \SOFTWARE \Classes \CLSID \{68AB827E-E297-447B-8406-AEAAB27E4A9B} \Implemented Categories \{21A60B09-CDB8-455E-B110-E8B7598641A6} \Component Categories \{21A60B09-CDB8-455E-B110-E8B7598641A6} 409: REZ_SZ = 'My Component Category' i can see all this in the registry without problems. Checking security on the registry keys (Window XP), regular Users have read access to these keys. So i try to debug EnumClassesOfCategories by watching it's progress with RegMon, and i can see that it stops hunting through keys after it reaches the {3's. And looking at the specific key it stops at, there's nothing extra ordinary about it that could explain it failing to continue. So what could possibly be going on where a) works under administrative user b) doesn't return clsid's as standard user c) keys are readable and valid as standard user
Sure sounds like a permissions issue on the registry. You might try to use regedt32 (not regedit) on the target machine to actually view the permissions directly. (Just a suggestion... I'm not sure how you will isolate which key is causing the issue.) Brian
> Sure sounds like a permissions issue on the registry. You might try to use > regedt32 (not regedit) on the target machine to actually view the > permissions directly. (Just a suggestion... I'm not sure how you will > isolate which key is causing the issue.) It's my own machine. e.g. i wasn't connecting to a remote registry. i log onto my own machine as a "standard" user, and i can see the values in the registry myself, but EnumClassesOfCategories cannot. And i can see the registry entires where it failed.