The information in this article applies to:
SUMMARYThe Windows 3.1 communications application programming interface (API) supports up to nine communications (COM) ports. However, COMM.DRV that is included with Windows 3.1 handles only four COM ports. With the Windows 3.1 DDK, COMM.DRV can be modified to handle up to nine ports. This information is specific to COMM.DRV for Windows 3.1 and Windows for Workgroups 3.1. Please note: If a system has more than four COM ports, it probably has a nonstandard multiport serial board, which will require more extensive changes than listed below. Contact the hardware vendor to see if a modified communications driver already exists for the specific hardware. MORE INFORMATION
The Windows DDK contains the source for COMM.DRV. The necessary changes to
support nine COM ports are listed below. Also, a few lines must be added to
SYSTEM.INI.
COMxBASE = address - "x" is the COM port number, and "address" is the base port address for the port.Below are the changes that must be made to the COMM.DRV source. Please remember that by modifying the source, the driver is no longer a Microsoft product, and therefore the name of the driver must be changed. However, do not change the module name; it must be COMM. The following changes are shown in comparison to the original files. These files are contained in the \286\COMM subdirectory of the Windows 3.1 DDK. This change notifies COMM.DRV that there are nine ports:
This change fixes a bug that occurs when COM ports are sharing IRQs. For
more information on this bug, query on the following words in the Microsoft
Knowledge Base:
sharing and IRQ and COM1 and reboot
Change the version, so this version of the driver is identified as the nine-
port version:
There are a few jumps here that are "short" in the retail COMM.DRV. Because
of the changes, they need to be changed to "near".
Additional query words: 3.10 COMM.DRV 9 PORT
Keywords : |
Last Reviewed: November 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |