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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Meredith
Sent: Monday, 14 January 2008 7:48 AM
To: python-win32@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-

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

Reply via email to