Hello,who can help me!

Discussion in 'Python' started by birdprince, Jul 22, 2008.

  1. birdprince

    birdprince Guest

    I have implemented a C++ COM,which contains two interface in one
    coclass.
    when i use this COM in python:
    dll=win32com.client.Dispatch("XXXXX")
    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.
    thank you very much!
    you can send the answer to my mailbox:
     
    birdprince, Jul 22, 2008
    #1
    1. Advertisements

  2. AFAIK win32com only supports IDispatch-based interfaces, not custom
    interfaces.

    Diez
     
    Diez B. Roggisch, Jul 22, 2008
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.