Re: Cannot (re)create new TAPI event listener in same session in VB
- From: "Matthias Moetje [MVP]" <moetje@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 18 Jul 2006 15:55:55 +0200
Kristian,
you don't really need two TAPI object, one declared WithEvents should be
sufficient. Apart from this what you describe should work, though. I don't
think this is a TAPI problem. You might want to show a bit more of your code
or post a minimal VB project that reproduces the problem.
Best regards,
Matthias Moetje
-------------------------------------
TERASENS GmbH
Augustenstraße 24
80333 Munich, GERMANY
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot com
www: www.terasens.com
-------------------------------------
"Kristian Frost" <kfrost@xxxxxxxxx> wrote in message
news:op.tcvu6wa5l8r4f3@xxxxxxxxxxxxxxxxxxxxxx
This might be a VB problem, or might be a TAPI problem.
I'm not altogether sure, but I guess you guys are the people to ask first.
In my program, the user can exit a form, closing his calls and ending his
TAPI sessions with .shutdown calls to both the TAPI and the "withEvents"
TAPIListener object which listens for events.
On first entering the form, I call
TAPI = New TAPI
''Some monitoring setup code
Set TAPIListener = TAPI
This works fine.
On reentering the form, the TAPIs should be recreated, but when it comes
to do:
set TAPIListener = TAPI
which works fine on the first round, I get a "-2147221415 (80040059)"
runtime error, which is defined pretty much nowhere on the internet that I
can find.
So, I have two inactive TAPI objects, one which can be reinitialised, one
which can't.
I can't account for this.
Any ideas?
Kristian Frost
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
.
- Follow-Ups:
- Re: Cannot (re)create new TAPI event listener in same session in VB
- From: Kristian Frost
- Re: Cannot (re)create new TAPI event listener in same session in VB
- References:
- Cannot (re)create new TAPI event listener in same session in VB
- From: Kristian Frost
- Cannot (re)create new TAPI event listener in same session in VB
- Prev by Date: Re: TAPI CALLER ID
- Next by Date: Re: recording device
- Previous by thread: Cannot (re)create new TAPI event listener in same session in VB
- Next by thread: Re: Cannot (re)create new TAPI event listener in same session in VB
- Index(es):
Relevant Pages
|