From: Norrih on
Hi,

I am using a system running windows XP, and I am mounting several
COM port from different devices plugged on USB.
I would like to mount them with fix COM port number, this means
that whatever happens in the future : removing or adding new com port ....
will not change the port number.

Hope to hear from you.

Norrih
From: Chris on
On Feb 16, 1:49 am, Norrih <Nor...(a)discussions.microsoft.com> wrote:

> I am using a system running windows XP, and I am mounting several
> COM port from different devices plugged on USB.
> I would like to mount them with fix COM port number, this means
> that whatever happens in the future : removing or adding new com port .....
> will not change the port number.

You can limit the variability by assigning USB serial numbers to your
devices, but the strict control over the COM name DB that you're
looking for is not really possible. COM ports are assigned by the
system and I don't know of any way to cause it to 'appeal' to some
outside source for guidance.
From: eagersh on
>COM ports are assigned by the
> system and I don't know of any way to cause it to 'appeal' to some
> outside source for guidance.
Or writing another device driver which would be not worth to do.

Igor Sharovar

From: Chris on
On Feb 16, 11:15 am, eagersh <eagers...(a)gmail.com> wrote:

> > COM ports are assigned by the
> > system and I don't know of any way to cause it to 'appeal' to some
> > outside source for guidance.
>
> Or writing another device driver which would be not worth to do.

How would writing another driver solve this guy's problem?
From: Pavel A. on
"Norrih" <Norrih(a)discussions.microsoft.com> wrote in message
news:C80B5C95-6A84-4F69-A473-DE9C5231A38F(a)microsoft.com...
> Hi,
>
> I am using a system running windows XP, and I am mounting several
> COM port from different devices plugged on USB.
> I would like to mount them with fix COM port number, this means
> that whatever happens in the future : removing or adding new com port ....
> will not change the port number.
>
> Hope to hear from you.
>
> Norrih

Detect your "COM ports" by some criteria meningful to you,
and then using DefineDosDevice() assign new names to them,
that won't conflict with anything else?

--pa