"Type mismatch " error when i want to select a terminal

Win32 Programming

    Next

  • 1. Tapi - Events ...
    Hello NG, i am using Tapi3 under VS2005 C#. I register the event from the TapiLib and the line of my internal Modem (Notebook). When a call come from outside i get the correct event from the TapiLib (CALLNOTIFICATION and CALLINFOCHANGED). But my problem is that i become these events only one time and than never again until i restart my Application and register the device again. What happens? Peter
  • 2. line open LINEERR_INCOMPATIBLEAPIVERSION
    hello, plas anyone help me, i have wriiten a code in vc for phone application, on that i tried lineopen function but it returns LINEERR_INCOMPATIBLEAPIVERSION...can anyone help me to find the bug...
  • 3. Dialogic Digital Card
    Hi all, May I know dialogic that come with TAPI/Wave driver only for Media Processing Boards. and the Signaling Boards does not come with TAPI/Wave driver. What is the different between PBX Integration Boards with the CTI link with PBX. Regards, Goh

"Type mismatch " error when i want to select a terminal

Postby saeid hamidi » Wed, 12 Oct 2005 02:25:04 GMT

hi,
i copied the code from msdn,but it has an error.please help
me.
Thank you for any help in advanced.

 Dim objCall As ITBasicCallControl
    Dim objStreamControl As ITStreamControl
    
    Set objCall = callInfo
    Set objTerminalSupport = WorkingAddress
    Set objTerminal = objTerminalSupport.GetDefaultStaticTerminal(MEDIAAUDIO,
 TD_RENDER)
    
    //Here type mismatch error occured.
    Set objStreamControl = objCall

Re: "Type mismatch " error when i want to select a terminal

Postby Matthias Moetje [MVP] » Wed, 12 Oct 2005 02:40:39 GMT

Which TSP are you using?

Best regards,

Matthias Moetje
------------------------------------- 
TERASENS GmbH
Ackermannstra 3
80797 Mchen
------------------------------------- 
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot de
www:   www.terasens.de
------------------------------------- 





objTerminalSupport.GetDefaultStaticTerminal(MEDIAAUDIO,



Re: "Type mismatch " error when i want to select a terminal

Postby Alex Feinman [MVP] » Wed, 12 Oct 2005 07:19:03 GMT

Is your modem a voice modem (if you are using a modem)?







Re: "Type mismatch " error when i want to select a terminal

Postby Andreas Marschall [MVP TAPI] » Wed, 12 Oct 2005 08:40:47 GMT

"saeid hamidi" < XXXX@XXXXX.COM > schrieb im Newsbeitrag


objTerminalSupport.GetDefaultStaticTerminal(MEDIAAUDIO,

saeid, in addition to the other replies
can you reproduce the issue with TAPI Browser TB3x ?
Please post a TB3x.log.
See my TAPI and TSPI FAQ:

Q: Where can I download TAPI Browser ?
 http://www.**--****.com/ 's_TAPI_and_TSPI_FAQ.htm#_Q:_Where_can

Q: Is there a user guide available for TAPI Browser TB3x ?
 http://www.**--****.com/ 's_TAPI_and_TSPI_FAQ.htm#_Q:_Is_there_2

-- 
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
 http://www.**--****.com/ 's_TAPI_and_TSPI_FAQ.htm
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion.  Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.





Return to Win32 Programming

 

Who is online

Users browsing this forum: No registered users and 68 guest