Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TAPI 3.0 Example

Status
Not open for further replies.

cucovieyra

Programmer
Jun 11, 2003
4
IT
I NEED AN EXAMPLE OF TAPI 3.O -
Answer and Make calls.
 
There is some good stuff on MSDN - did you Google it first?

I started from:


________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Hello, I read the article but my error is this, and must finish this program urgently, thanks for your cooperation. If you know the solution i need it.
Thanks.
'****** PROBLEM *****
Case TE_CALLNOTIFICATION
Debug.Print "CALLNOTIFICATION"
Dim lMediatype As Long
Dim Dir As TERMINAL_DIRECTION
lMediatype = TAPIMEDIATYPE_AUDIO
' Get the ITCallNotification interface.
Dim objCallNotificationEvent As ITCallNotificationEvent
Set objCallNotificationEvent = pEvent

'query ITCallInfo interface for the new call
Set gobjReceivedCallInfo = ObjCallNotificationEvent.Call

'query ITBasicCallControl, the call control interface
Dim objcallcontrol As ITBasicCallControl
Set objcallcontrol = gobjReceivedCallInfo
'ERRORE IN THIS LAST LINE "TYPE MISTMACH"


thanks.

Miguel Vieyra
 
My best guess is that Option Explicit is not set for this module. Have you declared gobjReceivedCallInfo elsewhere? If not you need to Dim it correctly:

Dim gobjReceivedCallInfo As ITCallInfo


________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Scuseme for this, but Option Explicit is set for this module and the variable is defined idem what you said me.
I'm sorry because I haven't another people to ask help.
If you can help me, I'm very confortable with you. If you want, I sent all the program to check me.
I wait your answer. Thanks.
 
Here is the only other reference I can find - Good Luck



________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Thanks for your cooperation, I'm very happy because I create an EXE file and it'work good. I dont't know why inside Visual Basic Design Program the error is.

Now, I ask you, (if not disturb) How I send a fax with Tapi program in Visual Basic, if you send me and example or a site to visite, thanks for all
 
I've never used TAPI for faxes.

For faxes I just use the standard XP fax printer - however a quick google for 'fax printer driver' gave dozens of available alternatives to the native XP version.


________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top