Checking Carrier Detect Status on Modem 
Author Message
 Checking Carrier Detect Status on Modem


Quote:

>I have a requirement to check the carrier detect status on a modem.  I
>download a dll called comstat, written by a guy in Malaysia.  This dll
>does work, but for some unknown reason, Trumpet will not process
>scripts while this program is checking the CD line.

>Can anyone suggest another dll that works?

>  -- Robert


I wish i could help but I don't have an answer; just a question(did you
post to the trumpet newsgroup?)

Where did you download this dll from if I may ask? I could have a use for it.

Thanks in advance



Mon, 30 Mar 1998 03:00:00 GMT  
 Checking Carrier Detect Status on Modem

to comp.lang.basic.visual about "Re: Checking Carrier Detect Status on
Modem":
-----------------------------
Quote:

says...

>>I have a requirement to check the carrier detect status on a modem.  I
>>download a dll called comstat, written by a guy in Malaysia.  This dll
>>does work, but for some unknown reason, Trumpet will not process
>>scripts while this program is checking the CD line.

>>Can anyone suggest another dll that works?

>>  -- Robert

>I wish i could help but I don't have an answer; just a question(did you
>post to the trumpet newsgroup?)

>Where did you download this dll from if I may ask? I could have a use for
it.

>Thanks in advance

-----------------------------
Try with Declare Function OpenComm Lib "User" (ByVal lpComName As String,
 ByVal wInQueue As Integer, ByVal wOutQueue As Integer) As Integer

If OpenComm("COM1",0,0) returns -2, a carrier is detected, if -4 is
returned, there's no carrier.
TH

--- OffRoad 1.9e unregistered

**************************************
Sent via Inform-BBS
-the leading alternative network in Denmark

Inform-BBS, Wesselsgade 4, DK-2200 Copenhagen N
Ph (+45) 31 35 38 80
Fax (+45) 31 35 43 32
BBS (+45) 31 35 45 32 (FirstClass)


**************************************



Tue, 31 Mar 1998 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Detecting carrier on modem

2. How to check modem carrier in VB 4.0 ?

3. How to Check for Carrier Detect

4. Detecting Modem Status in VB

5. How to detect the modem OnHook status?

6. How detect modem status

7. Checking Modem Status

8. HELP Check modem status

9. How to check for MODEM DATA CARIER DETECT

10. Help! Need to check com port for Carrier Detect status

11. Carrier detection - modems

12. MSComm & Carrier detect

 

 
Powered by phpBB® Forum Software