Re: [python-win32] Makepy does not generate all secondary interfaces?

2010-11-16 Thread Åsmund Hjulstad
2010/11/9 Åsmund Hjulstad : > I am struggling with secondary interfaces and makepy > > I have generated an interface with makepy from a library ( PISDKCommon > 1.0 Type Library ). It has an object, PIAsynchStatus, that exposes a > secondary interface; IPIAsynchStatus2. I cannot find the secondary >

Re: [python-win32] Makepy does not generate all secondary interfaces?

2010-11-16 Thread Mark Hammond
On 16/11/2010 7:49 PM, Åsmund Hjulstad wrote: I am guessing the problem is that the library does not declare that the any classes implement these secondary interfaces. It should iterate over every interface in the .idl file - see BuildOleItemsFromType in genpy.py (and maybe some "print debuggi

[python-win32] How to implement a callback COM object

2010-11-16 Thread Michael Bode
Hi, I've problems to get started with COM programming. I'm trying to write a COM client which uses a COM server controlling an instrument (power meter). The COM Server is using a DLL called FieldMax2ServerDLL which is registered. I've run makepy to get the bindings. Now to do anything useful with