[python-win32] Python and COM
Tim Roberts
timr at probo.com
Thu Jul 31 20:07:04 CEST 2008
birdprince wrote:
> 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,IAdvMethod have a method
> which name is Add,the second interface's name is IBasicMethod. IBasicMethod
> have a method which name is Sub.All the interface are based on IDispatch.
>
> who can tell me how to call the Add and Sub successful.
Have you read any of the documentation or any of the samples on using
COM from Python? My guess is no. If you have, why don't you post what
you tried and tell us what happened when you tried it?
> Thank you very much,please answer my question in code.
>
Morse code?
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list