Re: [python-win32] HKLM\SOFTWARE\...\ProfileList\... registry subkeyquery

2012-09-10 Thread Roger Upole
raf wrote: Roger Upole wrote: raf wrote: so my questions are: did the sid for the account name ever uniquely identify the user? Yes. In fact it's the only way, since you can change the login name of an account. how do i obtain the 1009 that needs to be appended to the sid to

[python-win32] how can I do marshall.ReleaseComObject in python ??

2012-09-10 Thread Matteo Boscolo
Hi All, I'm Working on a cad program using the it's com interface I have a python com object in witch I call a method as follows .. props=ent.Properties(True) #Ent is a IDocument this method is working well, and return a tuple of ITDProperty that are the property of the document.

Re: [python-win32] how can I do marshall.ReleaseComObject in python ?? [SEC=UNCLASSIFIED]

2012-09-10 Thread Andrew MacIntyre
[sorry for top-post] You probably need to release the Python object that is wrapping the COM object. Given a variable x holding a COM object reference, either: del x or x = None should force release of any COM object reference. Which to use depends on taste and context - the latter