ctypes.com - unable to call function, read property

Discussion in 'Python' started by Roman Yakovenko, Apr 14, 2004.

  1. Hi. I am trying for the first time to use ctypes.com module.
    I have question: I have reference to object that implements IDiaSession interface.

    IDiaSession._methods_ = IUnknown._methods_ + [
    STDMETHOD(HRESULT, "_get_loadAddress", POINTER(c_ulonglong)),
    STDMETHOD(HRESULT, "getEnumDebugStreams", POINTER(POINTER(IDiaEnumDebugStreams))),

    I can't find out how I call _get_loadAddress and getEnumDebugStreams methods.
    I know that in com "get_" is a prefix for property. What should I do ?
    Also "_get_loadAddress" defined as property.


    Thanks for help.

    Roman
     
    Roman Yakovenko, Apr 14, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Henk Punt
    Replies:
    0
    Views:
    409
    Henk Punt
    Jul 23, 2004
  2. Replies:
    1
    Views:
    327
    Diez B. Roggisch
    Aug 19, 2008
  3. Replies:
    0
    Views:
    516
  4. Tzury Bar Yochay
    Replies:
    1
    Views:
    307
    Benjamin Peterson
    May 30, 2009
  5. eroussel
    Replies:
    0
    Views:
    652
    eroussel
    Aug 16, 2011
Loading...

Share This Page