I am writing a DLL that dynamically creates an ADO connection something like
this:
TADOConnection * ADOp;
CoInitialize(NULL);
TADOConnection * ADOp = new TADOConnection(NULL);
I then go on to populated the properties of the ADOp and call the open
method, and this all works well.
But how do I recieve and process the ADO events like OnConnectionComplete,
OnWillConnect etc.?
Somehow I need to associate an event handler with the dynamically created
Connection object and I don't know how to do this.. any help would be
appreciated...
Regards
Sean Kenwrick