AsyncPro Win2K PortAlreadyOpen problem



G'day,

I'm using AsyncPro to access a number of serial devices. The devices may be
of two types and each has different serial settings.

Device1 runs at 19200 so I open the port at 19200 and query to see if one of
them responds. If I don't get a reply, I close the port, set the baud to
9600 (Device 2's speed) and send a query for that.

On Windows XP this works just fine but on Win2K I get an ec_PortAlreadyOpen
when I call InitPort or try to set Open := True on the second query.

It appears that the Dispatcher is still seeing the port as being in use even
though Open = False and PortStatus <> open.

Again, this ONLY happens on Win2K.

Any ideas?

TIA,

Chuck


.



Relevant Pages

  • Re: multiple serial devices?
    ... Can the serial devices be attached to USB ports ... > and one of the devices attached to the parallel port? ... absolultely and totally ripped off by Keyspan (they support ... I basically spent a lot of money on a LINUX Keyspan ...
    (comp.os.linux.hardware)
  • [PATCH] Make sure UART is powered up when dumping MCTRL status
    ... Since serial devices are powered down when not in use and some of those ... devices cannot be accessed when powered down, we need to enable power ... around calls to get_mcrtlwhen dumping port state via uart_line_info. ... received any additional feedback after reworking to incorporate changes ...
    (Linux-Kernel)
  • Re: implementing parallelism
    ... Wasn't there also a 'serial' interface for a cassette player? ... useless for normal serial devices. ... Calling that a serial port is probably a bit of a stretch. ...
    (comp.lang.asm.x86)
  • Serial Com Port Monitor 4.0
    ... Serial Com Port Monitor displays, logs and analyzes all serial data ... exchange between serial devices and any application. ...
    (comp.software.shareware.announce)
  • Re: iPAQ to RS232 devices
    ... (COM1) ... port, they most likely do have one. ... for connection to a desktop PC and so are most serial devices. ... cable for a Pocket PC. ...
    (microsoft.public.pocketpc.developer)