Email:
sales@wcscnet.com


Competent Technical Support By Knowledgeable Engineers

View Cart

Checkout

RSS Feed
Home
Products
Services
Support
File Download
Testimonials
NewsLetters
Press Releases
Tutorials
WebLog (News)
WCSC Partners
Developer Tools

Register for WCSC email updates

Wires No More!
$159.99 a pair


Wireless Serial Adapter
(Bluetooth to RS232)

 

Credit Card Merchant Services

 

What causes WCSCVxDInitializePort(), WCSCVxDOpenPort(), or WCSCVxDSetup() to return an error (usually RS232ERR_NOOTHERES/45) even though the IRQ, address, and all other parameters appear to be correct for COM1 or COM2?

The problem is that by default, Microsoft’s Windows NT 4.0/2000/XP serial communication driver pre-allocates all the resources (IRQs, etc.) even though the port is not opened. To solve the problem, ports that will be controlled by COMM-DRV/NT must disable ports that are under the control of Windows NT communication driver.

 

Windows 2000 & Windows XP Solution:

  1. Download SerNew.zip.

  2. Follow the instructions to install on the specific COM1-COM2 ports you will be using.

  3. You should now be able to use COMM-DRV/NT on COM1 and COM2.

 

Windows NT 4.0 Solution:

Solution 1:

If you are not running any serial communication applications on any port, you can simply issue the command at a DOS prompt or in Start->Run dialog box.

net stop serial

The above command will disable the Windows NT 4.0 serial communication driver. As such all serial communication ports will be disabled for standard serial communication applications.

 

Solution 2:

You can simply prevent the Microsoft Windows NT 4.0 driver from touching the specific serial port you want to use with COMM-DRV/NT. To do this 

Run REGEDIT.EXE to modify the registry. Assuming you want to work with COM2. You can disable only COM2 by adding the following registry entries.

Create the key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Serial\Parameters\Serial2

Add the following values to the keys below. They should all be REG_DWORD except COM2 is REG_SZ.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Serial\Parameters\Serial2\DisablePort = 1
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Serial\Parameters\Serial2\DosDevices = "COM2"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Serial\Parameters\Serial2\Interrupt = 0x3
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Serial\Parameters\Serial2\PortAddress = 0x2F8

When done, type the following in a DOS window to effect the change. 

Net stop serial
Net start serial

You can now use the port with COMM-DRV/NT.

To re-enable the port simply edit the registry and change the DisablePort to zero. When done, type the following in a DOS window to effect the change. 

Net stop serial
Net start serial

You can now use the COM port with any Windows communication application.

 

 

 Last Modified: 04/03/2008
Copyright © 2008 by Willies Computer Software Co