Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Congratulations for your great site. This site helped me more than university..."

Geography

Where in the world do Tek-Tips members come from?

Error in lineOpen function when try to use 2 modems on same PC

aksu (Programmer)
26 Jul 06 15:29
Problem: I have to use 2 instances of application to support 2 modems but I have error in second instance, when trying to connect to second modem, the first instance works fine with first modem.

Program use WIN API calls to "LineOpen" function.

Scenario:

1.    I start application,
2.    Connect first modem
3.    Connection succeed
4.    Close application
5.    Start application again
6.    Connect to second modem
7.    Connection succeed
8.    Close application.
9.    Start application.
10.    Connect to first modem
11.    Connection succeed
12.    Start second instance of program,
13.    Connect to second modem
14.    Error in "LineOpen" function WIN API - "Cannot open phone line".
15.    All this time first instance works fine and is able to receive calls.

Operation system: Windows XP Version 5.1 Build 2600
Modems use COM 3 and COM 4 ports.

Thank you in advance.

ArkM (IS/IT--Management)
27 Jul 06 0:03
Generally speaking it's UNIX forum.
Cannot open phone line is not lineOpen return code. See lineOpen in MSDN: LINEERR_.. codes...

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close