2010/11/9 Tim Roberts <[email protected]>:
> Åsmund Hjulstad wrote:
>> ...
>> My latest attempt is
>>
>> pisdkcommonlib = ('{76A44786-EBC8-11D3-BDC5-00C04F779EB2}', 0, 1, 0)
>> win32com.client.makepy.GenerateChildFromTypeLibSpec("IPIAsynchStatus2",
>> pisdkcommonlib, 1)
>>
>> which gives me
>> ...
>> ImportError: No module named IPIAsynchStatus2
>>
>> Any pointers appreciated. (Or is this possibly a bug?)
>
> A Google search for IPIAsynchStatus2 brings up nothing but your
> messages. Are you sure that's spelled correctly?
Yes, and makepy also finds something, replacing the text with
"IPIAsyncStatus3", for example, gives
AssertionError: Cant find the 'IPIAsynchStatus3' interface in the
CoClasses, or the interfaces
It is described in the header file as:
IPIAsynchStatus2 : public IUnknown
{
public:
virtual /* [helpstring][helpcontext][id][propget] */ HRESULT
STDMETHODCALLTYPE get_CallCompleteEvent(
/* [retval][out] */ long *pHandle) = 0;
};
but I don't understand how the original object declares that it can
implement the interface. I'm probably in way over my head. Thank you
for helping.
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32