ADO Events with win32com

Paul Moore gustav at morpheus.demon.co.uk
Sat Jul 21 18:24:59 CEST 2001


On 21 Jul 2001 07:40:17 -0700, nmack at pacbell.net (angusm) wrote:

>I think the problem is that COM (or ADO?)requires you to define all
>the event handlers for the interface in your class:
>
>"All the event handlers in the ConnectionEvent ... must be
>implemented, regardless of whether you actually use events. " MSDN

I'll try it, but I'm surprised. I didn't need to do this for a different object
I tested the event code on. That has many events, and I only implemented the one
I used. I assumes that the win32com stuff did its magic, and made it work...

Nevertheless, thanks for the suggestion - I'll try it.

Paul.



More information about the Python-list mailing list