Re: Is ::lineDeallocateCall() Enough

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Tim" <dekernel0@xxxxxxxxx> schrieb im Newsbeitrag
news:egz6ge57FHA.2036@xxxxxxxxxxxxxxxxxxxxxxx
> Finally able to get the ::CloseHandle() call to not throw an exception.
> I had to do the call before the ::lineDrop() call. Not sure why, but Ok.

Tim,
ok, thanks for the feedback.

> I am still leaking a single handle on each call that I handle. My
> question it that do I need to do a ::lineClose() after each call?
> Currently I am not, but I am still able to answer and send messages.

lineClose() is only used if you don't need that line device anymore.
Though you need to release all call related resources to be able to make /
receive a new calls with UniModem.TSP.

--
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.



.



Relevant Pages

  • Re: How to Run Sample Code in PSDK
    ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Modem Extra Initialization Commands
    ... But they are different in Win98/ME/2K/XP and you must find out which modem ... > Microsoft MVP for TAPI / Windows SDK ... > * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: TSP Transfer Problem
    ... > whenever I try to change the call state of the consultation call. ... > try to change the state here it also throws an exception. ... What TAPI app are you using for testing? ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Tapi 3, VB6 and Nortel BCM 3.7
    ... is there a quick way to retrieve all of these or ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: LINE_NEWCALL & LINECALLSTATE_ONHOLD
    ... I think the way you descibe it is fine. ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)