home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
closecom.zip
/
CLOSECOM.DOC
< prev
next >
Wrap
Text File
|
1997-04-03
|
3KB
|
74 lines
****************
** CLOSECOM **
****************
CLOSECOM forces the release of a COM port that a DOS or Windows
application has taken control of and failed to release for use by other
applications. At set intervals, CLOSECOM queries the COM port to detect
a possible carrier, and if there is none, issues a command to close the
port, so another application can use it.
CLOSECOM requires use of the version of SU.EXE, found in Ray Gwinn's
excellent COM port utility package SIO160D.ZIP. While CLOSECOM is freeware,
SIO is not: It is shareware that should be registered and paid for. Also,
although I know of no reason to believe proper use of the program will
cause any kind of problem, your use of CLOSECOM is conditioned on your
agreement to the following:
THERE ARE NO WARRANTIES OF ANY KIND OR FOR ANY PURPOSE CONCERNING THIS
PROGRAM, EITHER EXPRESS OR IMPLIED, REGARDLESS OF ANY COMMUNICATION BY
THE USER WITH THE AUTHOR. THE USER AGREES TO ACCEPT ALL RISKS RELATED TO
USE OF THIS PROGRAM AND WAIVES ALL CLAIMS FOR DAMAGES THAT MAY RESULT
FROM SUCH USE. THE USER FURTHER AGREES THAT THIS PROGRAM WILL ONLY BE
DISTRIBUTED IN THE ZIP PACKAGE OF WHICH IT IS A PART.
*************
CONTENTS:
CLOSECOM is released as CLOSECOM.ZIP and contains the following files:
CLOSECOM.CMD
CLOSECOM.ICO
CLOSECOM.DOC
*************
INSTRUCTIONS:
Place all three files in any directory. CLOSECOM can be run from the
command line or from a program object. Creating a program object that
can be placed in your Startup folder is the preferred method, but you
might want to experiment with starting it from the command line at first.
If so, just enter "CLOSECOM" at the command prompt and follow the
instructions.
To create a program object for CLOSECOM, drag the program object template
from the OS/2 Templates folder onto the desktop or any other folder. In
the "Path and file name" box, enter <drive:\path\>CLOSECOM.CMD, replacing
"drive" and "path" as appropriate to identify where CLOSECOM resides. In
the "Parameters" box, enter the number of your COM port. There is an
optional parameter for the number of seconds you want CLOSECOM to wait
between the queries it makes to see if the COM port is in use. The default
wait/delay is 120 seconds. Parameter entries might look like one of these:
2 or COM2 or 1 60 or COM3 90). On the "Session" page, check the "Start
minimized" and "Close window on exit" boxes. While the icon should
automatically appear, it may be necessary to go to the "General" page and
"Find" it. Place a shadow of the program object in your Startup folder, so
CLOSECOM will automatically load and function in the background.
If you use the proper version of SU.EXE, CLOSECOM should force release of
the COM port if a DOS or Windows application has used it and still holds
it but only when the COM port is not being used.
*WARNING*: Some versions of SU.EXE earlier than the one in SIO160D.ZIP
do not return the proper return code for the function that detects a
carrier at the COM port. As a result CLOSECOM may force your COM port to
close while you are using the modem. Be sure you get SIO160D.ZIP. You
should test the program with non-critical communication processes before
relying on it.
BE SURE TO REGISTER AND PAY FOR SIO.
For information, email: David Eckman <davide@hal-pc.org> 4.3.97