Python COM

2008-07-29 Thread birdprince
I have implemented a COM in C++,buy i don't know how to use this COM in python. For example: the COM's ProgID is "MyCOM1.AdvMethod".this COM have two interfaces,the default interface's name is IAdvMethod,the second interface's name is IBasicMethod. How do i use those interfaces in python.Thank you

Hello,who can help me!

2008-07-22 Thread birdprince
I have implemented a C++ COM,which contains two interface in one coclass. when i use this COM in python: dll=win32com.client.Dispatch("X") then i can only call default interface's method,but can't call non default interface's method. who can tell me how to call non default interface's method. t