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.  REFPROPERTYKEY is a pointer to the key.  You will probably
have to use something like ctypes to dereference the pointer and fetch
the actual key.


> And secondly the return value never makes it back to windows either.

What are you actually returning?

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to