I have a COM object that manages a phone line. The COM Object has an Event
OnRingDetected( ) which is called when someone calls the phone line this COM
object is monitoring. When the OnRingDetected is called it is supposed to
kick off a process that executes a script. I would like this all in a service
that is capable of doing this for multiple phone lines. I was thinking of
placing these objects in a thread but how do you tell the thread not to
terminate while the COM Object is waitng for a call to come in??? Any ideas.
My brain is just fried today.. Thanks for any help!
OnRingDetected( ) which is called when someone calls the phone line this COM
object is monitoring. When the OnRingDetected is called it is supposed to
kick off a process that executes a script. I would like this all in a service
that is capable of doing this for multiple phone lines. I was thinking of
placing these objects in a thread but how do you tell the thread not to
terminate while the COM Object is waitng for a call to come in??? Any ideas.
My brain is just fried today.. Thanks for any help!
Comment