Is it possible to use Access XP to receive TAPI events?

  • Thread starter Thread starter Chris Nebinger
  • Start date Start date
C

Chris Nebinger

Yes, it should be possible, the same as in VB. But, as to
how, it's something I've never done.

Also, how would the caller's phone number get passed?

You might want to check the VB sites
(http://vbnet.mvps.org) for more info. I'd be interested
in seeing what you get done then.


Chris Nebinger


-----Original Message-----
We want to be able to have an Access XP database be notified of TAPI events.

The functionality that we would like to produce is that
when the phone rings we can have Access query a table of
customer phone numbers and if the customer is recognised
then popup a form with the customer's details and allow
the user to answer the call.
We have a reference to the TAPI 3.0 Type Library but do
not know what to pass for the lCallbackInstance parameter
on RegisterCallNotifications.
 
In A2K or higher, AddressOf is supported and you no longer need to use
Michaela nd Ken's AddrOf workaround.
:-)

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Ok, didn't know that!

Cheers,
TC


Stephen Lebans said:
In A2K or higher, AddressOf is supported and you no longer need to use
Michaela nd Ken's AddrOf workaround.
:-)

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Thanks for the info and I'm sure that AddressOf function will need to be used but what I wanted to know was how to create the lCallbackInstance parameter to pass to the RegisterCallNotifications method. The documentation that I have read on the subject seems to assume that you are going to be using C++ rather than VB.
 
Thanks for the info and I'm sure that AddressOf function will need to be
used but what I wanted to know was how to create the lCallbackInstance
parameter to pass to the RegisterCallNotifications method. The documentation

Here is a short explicit example, using what I posted previously:

lCallbackInstance = GetFuncPtr(AddressOf fOFNHookProcC)


(david)

Mike said:
Thanks for the info and I'm sure that AddressOf function will need to be
used but what I wanted to know was how to create the lCallbackInstance
parameter to pass to the RegisterCallNotifications method. The documentation
that I have read on the subject seems to assume that you are going to be
using C++ rather than VB.
 
Back
Top