gelonida wrote:
...
> while True:
>     print "sleep"
>     time.sleep(10)
>
>When I plug / unplug a USB WIA device nothing shows up.
> My C# implementation prints messages on wiaEventDeviceConnected /
> wiaEventDeviceDisconnected events if I register them.
>
> What am I missing?

You need to be processing messages to receive COM events.
Try replacing your sleep loop with pythoncom.PumpMessages().

         Roger




-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to