Cyberwizzard
06-29-2001, 02:40 PM
Hi
When I use the lineDrop() function in my app all callbacks from the TAPI stop. Therefore I can't e.g. pickup the phone for a 2nd time because I don't receive the call handle. It seems that only the lineDrop function causes this problem.
I hangup by using lineMonitorDigits to stop it, followed by a lineDrop and lineDeallocateCall.
Can it be that the TAPI tries a callback at exact the same time as my program calls the lineDrop function? I can't use multiple threads since its VB. I've allready broken the wave and TAPI functions up in 2 ActiveX dll's and made them apartment threaded... Anybody?
When I use the lineDrop() function in my app all callbacks from the TAPI stop. Therefore I can't e.g. pickup the phone for a 2nd time because I don't receive the call handle. It seems that only the lineDrop function causes this problem.
I hangup by using lineMonitorDigits to stop it, followed by a lineDrop and lineDeallocateCall.
Can it be that the TAPI tries a callback at exact the same time as my program calls the lineDrop function? I can't use multiple threads since its VB. I've allready broken the wave and TAPI functions up in 2 ActiveX dll's and made them apartment threaded... Anybody?