Solved

TAPI lineOpen()

Posted on 1997-05-28
8
1,133 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

729 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