I have a component DBCom that act as a midle tier to handle connection to a database using the ADO components.
To be able to do several db requests simultanously, DBCom and the ADO library is set to work "Free threaded".
No to the problem:
In DBCom I have several threads handling the DB connection. These threads needs to signal the customers (clients of DBCom) whenever something exciting happens. How do I do this? I have found:
which seems to adress the problem. However the writer suggests that this is solvable in an easy way in Win2000: "So the question you're probably anxiously waiting to ask is "How do I implement event classes? Do I wait for COM+ and Windows 2000 to be able to do this?" "
Is there a simpler solution to this problem?
Regards,
Thomas Solvik
To be able to do several db requests simultanously, DBCom and the ADO library is set to work "Free threaded".
No to the problem:
In DBCom I have several threads handling the DB connection. These threads needs to signal the customers (clients of DBCom) whenever something exciting happens. How do I do this? I have found:
which seems to adress the problem. However the writer suggests that this is solvable in an easy way in Win2000: "So the question you're probably anxiously waiting to ask is "How do I implement event classes? Do I wait for COM+ and Windows 2000 to be able to do this?" "
Is there a simpler solution to this problem?
Regards,
Thomas Solvik