Re: [python-win32] Extending Vista/Windows7 with Python

2009-11-05 Thread Tim Roberts
Stormy wrote: I am trying to implement IPropertyStore in a python component, and run into a few problems. HRESULT GetValue( REFPROPERTYKEY /key/, PROPVARIANT */pv/ ); The GetValue method passes a pointer in the form of an integer to python instead of a key. Correct.

[python-win32] Setting NTFS Permissions on Tree

2009-11-05 Thread Durumeric, Zakir B
Hi, I'm trying to set permissions on an NTFS tree. Specifically I'm trying to add a propagable ACE to the DACL on a top-level directory and hoping for it to recursively propagate to children who do not have inherited permissions blocked. I'm currently tying to do this by calling

[python-win32] More win32com woes: Wrapping COM objects

2009-11-05 Thread Celvin
Hi, while my recent problem got solved due to Mark being of great help, interacting with COM from Python seems to bring up a few problems I hadn't thought about at first. This is what is taxing my brain at the moment: I would like to wrap a COM object instance with a Python class in order to

Re: [python-win32] Extending Vista/Windows7 with Python

2009-11-05 Thread Stormy
Tim Roberts wrote: Stormy wrote: I am trying to implement IPropertyStore in a python component, and run into a few problems. HRESULT GetValue( REFPROPERTYKEY /key/, PROPVARIANT */pv/ ); The GetValue method passes a pointer in the form of an integer to python instead of a key.