ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-win32
python-win32
Re: [python-win32] Extending Vista/Windows7 with Python
by Tim Roberts other posts by this author
Nov 5 2009 11:10AM messages near this date
[python-win32] Extending Vista/Windows7 with Python | Re: [python-win32] Extending Vista/Windows7 with Python
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, timr@[...].com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@[...].org
http://mail.python.org/mailman/listinfo/python-win32
Thread:
Stormy
Tim Roberts
Stormy
Stormy

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved