Article View: borland.public.cppbuilder.nativeapi
Article #11641Retrieve modem status:how?
From: Davide Puccioni
Date: Tue, 27 Jan 2004 10:40
Date: Tue, 27 Jan 2004 10:40
13 lines
1356 bytes
1356 bytes
Hi, everybody! I've an app that communicates with an hardware via RS-232. A problem arises using a modem connection, like this: PC <-(RS232)-> Modem ... Modem <-(RS232)-> HW My primary goal is to query line status to check when link drops down. I've take a look to GetCommModemStatus, WaitCommEvent and SetCommMask WinApi functions,but I don't know which signal must be observed. Answers and examples will be warmfully appreciated. TIA.
Technical Details
Message-ID:
<40164011.60901@nospam.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,b4799acf7efcb3a,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-27 02:49:47 PST Message-ID: <40164011.60901@nospam.com> Date: Tue, 27 Jan 2004 11:40:17 +0100 From: Davide Puccioni <davide70@nospam.com> User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Retrieve modem status:how? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 82.84.173.65 X-Trace: newsgroups.borland.com 1075200018 82.84.173.65 (27 Jan 2004 02:40:18 -0700) Lines: 14 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail