tmp = getattr(getattr(win32com.gen_py,"7E62D941-9778-11D1-A792-00A024D1C490x0x1x0"), 
"IDSSSource")
Source = tmp(Session.Component(win32com.client.constants.DssRoleObjectSource))


This looks like the type cast works correctly.  Where 
"7E62D941-9778-11D1-A792-00A024D1C490x0x1x0" is the name generated from the
type library.  
CONFIDENTIALITY NOTE:  This e-mail message, including any attachment(s), contains 
information that may be confidential, protected by the attorney-client or other legal 
privileges, and/or proprietary non-public information.  If you are not an intended 
recipient of this message or an authorized assistant to an intended recipient, please 
notify the sender by replying to this message and then delete it from your system.  
Use, dissemination, distribution, or reproduction of this message and/or any of its 
attachments (if any) by unintended recipients is not authorized and may be unlawful.

_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython

Reply via email to