TAPI callback problem

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?

Cyberwizzard
07-04-2001, 12:22 PM
Well, forget the thread part. Anybody why all callbacks stop after 'lineDrop()'???

BillSoo
07-04-2001, 12:27 PM
I don't know anything about TAPI, but I did come across a link to a site that apparently has a good example....<a href="http://www.shrinkwrapvb.com/vbtapi.htm">Click here.</a>

Also, you can get another thread if you use ActiveX EXEs. As I understand it, each EXE runs in it's own thread....


"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum