"kernel1983" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > By reading the doc of pywin32 > > we can invoke COM like: > > o = win32com.client.Dispatch("Excel.Application") > > > but is it possible to invoke some GUID directly? >
Yes, you can do something like win32com.client.Dispatch('{00024500-0000-0000-C000-000000000046}') > > If COM was going to be invoked by python, must it support IDispatch? Not neccessarily. Pythoncom has compiled-in support for many interfaces that don't inherit from IDispatch, but it requires that someone write code to wrap the interface. Roger ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups ----= East and West-Coast Server Farms - Total Privacy via Encryption =---- -- http://mail.python.org/mailman/listinfo/python-list