[python-win32] Defining GUIDs and passing them as parameters

Mark Hammond mhammond at skippinet.com.au
Mon Jan 14 01:42:24 CET 2008


pywin32 has a GUID type, but as GUIDs can't be passed via a VARIANT, I
assume your object will not implement IDispatch - so you may be forced to
call your object from comtypes.  There is a comtypes mailing list (which I
don't have on hand) that is probably better suited for comtypes assistance.


 

Cheers,

 

Mark

 

From: python-win32-bounces at python.org
[mailto:python-win32-bounces at python.org] On Behalf Of Chris Meredith
Sent: Monday, 14 January 2008 7:48 AM
To: python-win32 at python.org
Subject: [python-win32] Defining GUIDs and passing them as parameters

 

Greetings.

 

I'm writing a UI Automation client and needing to define GUIDs as constants,
as well as pass them as parameters.  Sadly, I come from a C++/C# background,
and can't remember just precisely what library handles GUIDs (I'm assuming
comtypes?).

 

-C-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20080114/47d4b666/attachment.htm 


More information about the python-win32 mailing list