Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HowTo trigger events from different threads in a com component

Status
Not open for further replies.

THS

Programmer
Aug 20, 2001
6
NO
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top