From: Roger B. <ro...@ro...> - 2003-12-16 21:26:02
|
> Do you need something "generic" or will something specific with regards to > this key tree be acceptable? The code already exists. Look for the 'safegetchildren' method in comscan.py. The problem is that for the last 4 out of 22 child entries of a particular key on my machine, it returns 234 - More data available. The current code uses _winreg. I also tried using the win32api from win32all and got the same result. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/regenumkey.asp That shows the only way ERROR_MORE_DATA can be returned is if the buffer supplied is too small. However the keys it is falling over on are tiny in length so something else is actually happening. It affecting both win32api and _winreg is wierd. Roger |