From: Jim <Ji...@ja...> - 2003-12-16 21:49:49
|
Ok, will have to look at codebase when I get home. Just sent you a code example which works here (at work). If you get a chance, would you send me an export of your USB registry tree for me to test against? My lunch break is over now...must get back to "work". :) Jim West www.jameswest.com The box said Windows 95 or better, so I installed Linux. ---------- Original Message ----------- From: "Roger Binns" <ro...@ro...> To: <bit...@li...> Sent: Tue, 16 Dec 2003 13:26:03 -0800 Subject: Re: [Bitpim-devel] Any Windows registry API experts? > > 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 > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Bitpim-devel mailing list > Bit...@li... > https://lists.sourceforge.net/lists/listinfo/bitpim-devel ------- End of Original Message ------- |