ctypes.com - unable to call function, read property

Roman Yakovenko roman.yakovenko at actimize.com
Wed Apr 14 10:33:56 EDT 2004


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




More information about the Python-list mailing list