Application using com port

J

Jay Hendry

Hi

Is there a utility that will tell me what program is using the com port?
I've got a Windows XP Pro PC and I'm trying to get an application to work
that sends data to com1. This isn't working and when I try and test to send
a file from another PC using Hyperterm it says it can't access com1 as its
in use by another package - and not its not the one I'm trying to get
working as thats shutdown. System manager shows the port as OK and working
and I can't see any conflicts on irq or address in device manager.

I've run the PC up in dos and used some utlities to check the port and they
are all showing it as fine including testing it with loopbacks and no
problems.

Any help would be appreciated.

Thanx

Jay
 
J

Jim Macklin

XP will not allow direct control of the ports by an
application. Old DOS programs try to do that, AFAIK.


message
| Hi
|
| Is there a utility that will tell me what program is using
the com port?
| I've got a Windows XP Pro PC and I'm trying to get an
application to work
| that sends data to com1. This isn't working and when I try
and test to send
| a file from another PC using Hyperterm it says it can't
access com1 as its
| in use by another package - and not its not the one I'm
trying to get
| working as thats shutdown. System manager shows the port
as OK and working
| and I can't see any conflicts on irq or address in device
manager.
|
| I've run the PC up in dos and used some utlities to check
the port and they
| are all showing it as fine including testing it with
loopbacks and no
| problems.
|
| Any help would be appreciated.
|
| Thanx
|
| Jay
 
V

Vagabond Software

Jay Hendry said:
I've got a Windows XP Pro PC and I'm trying to get an application to work
that sends data to com1. This isn't working and when I try and test to send
a file from another PC using Hyperterm it says it can't access com1 as its
in use by another package - and not its not the one I'm trying to get
working as thats shutdown. System manager shows the port as OK and working
and I can't see any conflicts on irq or address in device manager.

Do you have a Palm Pilot (or other PDA) with a cradle attached to your COM port? Are you running an application like HotSync? Are you running FAX with an external modem?

All these things could be using COM1. I would check that first. If you're sure there are no applications using COM1, then open Device Manager, expand the Ports collection, right-click on COM1, and select scan for hardware changes from the pop-up menu.

I hope that helps.

- carl
 
T

Thomas Lutz

if the device that you have connected to your serial port sends data
continuously and you are running Windows NT/2K/XP, then the problem
may be that Windows thinks that the device is a serial mouse and is
installing the mouse driver for the COM port when you first boot up.

The following URL contains more inforamtion on how to fix this type of
problem.
http://www.taltech.com/support/troublsht/NTDetect.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top