🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #17439

Re: TAPI events

#17439
From: Roberto
Date: Mon, 24 Mar 2003 22:17
35 lines
2262 bytes
    I had read that , but in TAPI  help "comm/datamodem"

If hComm is a valid handle, you can use it in subsequent calls to Win32 file
functions, such as ReadFile and WriteFile, to send and receive data on the
call. When you are finished using the communications port and preferably
before you use the lineDeallocateCall function to deallocate the call, you
must close the port by using the CloseHandle function.

    Then I believe that lineGetID() return a valid handle

    I had try to use CreateFile() to get the hCom , but I can't use
CreateFile with a used line , I have to first drop the line with
lineClose() , but it's will not work , I have to get the two hCom e hLine
to make the transfer
    Do you have other sugestion to get a valid hFile

Thanx in advance
Roberto

"Remy Lebeau (TeamB)" <gambit47@yahoo.com> escreveu na mensagem
news:3e7f73d9$5@newsgroups.borland.com...
> SetCommMask() does not work with TAPI.  They are from completely different
> APIs.  If you look at the documentation for SetCommMask(), it is expecting
a
> HANDLE that is returned from CreateFile(), which is not the case with
TAPI.
>
>
> Gambit
>
> "Roberto" <casa@charao.com.br> wrote in message
> news:3e7f6f0a@newsgroups.borland.com...
> > the SetCommMask() is return  "Invalid Identifier"
>
>
Technical Details
Message-ID: <3e7f83fb@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e7f6f0a@newsgroups.borland.com> <3e7f73d9$5@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,66784fbb1193fccc
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-24 14:27:29 PST
From: "Roberto" <casa@charao.com.br>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e7f6f0a@newsgroups.borland.com> <3e7f73d9$5@newsgroups.borland.com>
Subject: Re: TAPI events
Date: Mon, 24 Mar 2003 19:17:24 -0300
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 200.148.45.213
Message-ID: <3e7f83fb@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048544251 200.148.45.213 (24 Mar 2003 14:17:31 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail