AsyncPro Win2K PortAlreadyOpen problem
- From: "Chuck Hutchings" <chuckhutchings@xxxxxxxxxxx>
- Date: Fri, 27 Oct 2006 16:03:44 -0400
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
.
- Prev by Date: Re: Midlet pascal ???
- Next by Date: Start external applications and check if they are still running
- Previous by thread: Time trial limitation
- Next by thread: Start external applications and check if they are still running
- Index(es):
Relevant Pages
|