On Friday 07 December 2007 18:10:00 you wrote: > On Fri, 2007-12-07 at 17:58 +0100, Guido Diepen wrote: > > Furthermore, You mentioned you were working on the partnership code, due > > to some minor issues I had to hard-reset my phone. The first thing I did > > was install the mail2web exchange server. Without any other partnerships > > present, only the Exhcnage one, I don't have any subkeys P1 or P2, ... > > anymore under the Partners Reg Key. Thought this info might be of use > > while working on the partnerships :) > > Ah, thanks for this info. The partnership code overhaul is almost > complete and there is just this issue of deleting exchange servers to > fix. At the moment I don't have an available Exchange server to test > against - so could you help with this? What I need to know is how, from > the registry, I can discriminate between an exchange server partnership > and an AS partnership, so that so we don't kill the exchange partnership > thinking it is a dangling entry. Could you have a poke about in your > registry and let me know if there is an easy way to do this? > > John.
One of the things that struck me, when looking at it again is the following line (partnerships.py:83): partners_key = hklm.create_sub_key(r"Software\Microsoft\Windows CE Services\Partners") This looks to me like you are ALWAYS creating a key. Within rapi, there is already a enumKey, this could also be ported to pyrapi I guess. It would be nicer to eumerate over the keys, instead of trying to create them. About the registry, please give me some time, you will get a registry dump of all needed keys, it is working sooooooooooo nice ;) Currently doing small debug of the librapi2 stuff, such that it will be possible to make use of NULL values indicating the user is not interested in knowing those values. This is too make the library a bit more stable and robust, since the API does allow for NULL values. Guido Diepen -- Aviation is proof that given the will, we have the capacity to achieve the impossible. --Eddie Rickenbacker ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ SynCE-Devel mailing list SynCE-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synce-devel