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

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.
 
S

Stephen Lebans

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.
 
T

TC

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.
 
M

Mike

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.
 
D

david epsom dot com dot au

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top