Re: problem with second call
- From: "Jerry" <jvelders@xxxxxxxxxxxxxx>
- Date: Thu, 3 Nov 2005 14:07:06 -0600
Andreas .. first of all, let me thank you for your help/guidance. I'm
extremely impressed with your diligence and support in this news group. I'm
reporting back what I found in the hopes that someone else may benefit ..
As it turned out, the reason that lineOpen was failing on the second attempt
was because I had used LINECALLPRIVILEGE_OWNER |
LINECALLPRIVILEGE_MONITOR on the lineOpen command. When I changed this to
LINECALLPRIVILEGE_NONE, the second lineOpen succeeded. At that point, I
started seeing a failure on the second call to lineMakeCall
(LINEERR_RESOURCEUNAVAIL). A little digging found that the hComm handle
was not being closed properly on the disconnect, making it unavailable for
use on subsequent calls. At this point I can connect/disconnect repeatedly
without any problems.
Thanks again.
Jerry
"Andreas Marschall [MVP TAPI]" <Andreas.Marschall@xxxxxxxxxx> wrote in
message news:#7yfrDK4FHA.3292@xxxxxxxxxxxxxxxxxxxxxxx
> "Jerry" <jvelders@xxxxxxxxxxxxxx> schrieb im Newsbeitrag
> news:11mki45mbqlbrf8@xxxxxxxxxxxxxxxxxxxxx
> > I'm new to tapi so I know I must be doing something dumb here, but after
> > several days I'm not making progress .. thus the call for help.
> >
> > I've been asked to convert some old (15 yr old) DOS legacy home-brew
> > networking software to work under windows. It requires that I dial from
a
> > current Windows machine TO a 2400 baud hayes-compatible modem. In the
old
> > version, I just opened the comm port and sent AT commands to the modem.
> > Obviously, in the Windows world, this doesn't fly, so I've turned to
TAPI.
>
> Jerry,
> another option might be LINEBEARERMODE_PASSTHROUGH.
> Please see MSDN for details.
>
> --
> Best Regards
> Andreas Marschall
> Microsoft MVP for TAPI / Windows SDK
> TAPI / TSP Developer and Tester
> http://www.I-B-A-M.de/Andreas_Marschall'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.
>
>
.
- Follow-Ups:
- Re: problem with second call
- From: Andreas Marschall [MVP TAPI]
- Re: problem with second call
- References:
- problem with second call
- From: Jerry
- Re: problem with second call
- From: Andreas Marschall [MVP TAPI]
- problem with second call
- Prev by Date: Re: problem with second call
- Next by Date: Re: problem with second call
- Previous by thread: Re: problem with second call
- Next by thread: Re: problem with second call
- Index(es):
Relevant Pages
|