
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)
**************************************