Solved

TAPI lineOpen()

Posted on 1997-05-28
8
1,118 Views
Last Modified: 2013-12-03
Thank You for advise, but it's not the solution. I think that TAPI version 1.4 must work too. And I can't use lineInitializeEx(), because is's not supported in Win95 (it is written in MS Visual C++ help), so I must use lineInitialize(), where LINEINITIALIZEEXPARAMS is not used.
0
Comment
Question by:shvetsov
  • 4
  • 4
8 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 100 total points
ID: 1397680
When you call lineInitializeEx() function to initialize the application's use of TAPI, it returns the number of line devices available to the application (lpdwNumDevs).

Device identifier values range from zero to one less than the number of devices present.

0
 

Author Comment

by:shvetsov
ID: 1397681
Edited text of question
0
 

Author Comment

by:shvetsov
ID: 1397682
Adjusted points to 100
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 23

Expert Comment

by:chensu
ID: 1397683
Check your version of TAPI to see if it is 2.0 or later.
0
 

Author Comment

by:shvetsov
ID: 1397684
Edited text of question
0
 
LVL 23

Expert Comment

by:chensu
ID: 1397685
I am not sure what the difference is. I suggest checking each parameter you pass to lineInitializeEx() function to make sure they are correct, specially LPLINEINITIALIZEEXPARAMS lpLineInitializeExParams. Also, try higher version. You can download the latest version (2.1) from Microsoft web site.

0
 

Author Comment

by:shvetsov
ID: 1397686
Edited text of question
0
 
LVL 23

Expert Comment

by:chensu
ID: 1397687
OK. lineInitialize also returns the number of line devices.

There is an example code called 'dialit' on Microsoft web site. It may be helpful for you. (It uses lineInitialize function to do the initialization.)

dialit:
Uses the CTapiConnection class. It provides an easy way to initialize TAPI, connect, and make a voice-based telephone call.

http://www.microsoft.com/WIN32DEV/NETWRK/CTA2669B.ZIP

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question