Sign in with
Sign up | Sign in
Your question

How to free a com port if it is using by another application

Tags:
  • Configuration
  • Comm Port
  • Win32
  • Windows XP
Last response: in Windows XP
Share
Anonymous
March 14, 2010 2:15:31 PM

hello, i am making a project for serial port communication in vc++ for win32 application.i have sucessfully opened the port. my task is that i have to read data from another application.now the problem that is arising is when we run that application for reading purpose, then it capture the com port and that time when i run my code it shows invalid com port.
plz help me out as soom as possible.

More about : free port application

March 14, 2010 3:20:27 PM

Hello: Perhaps some hint for you here

How to free com ports:

in WinXp too but i solved this by going through this steps

My computer->properties->Device Manager->Communication Ports->Properties->Port Settings->Advanced.

Here i found the list of com ports which were in use and selected the unused one my problem was solved.

Source:

http://forums.cnet.com/5208-6618_102-0.html?threadID=13...



Application using com port

http://www.tomshardware.com/forum/148519-45-application...


Process Explorer v11.33

By Mark Russinovich

http://technet.microsoft.com/en-us/sysinternals/bb89665...



port is free:

http://www.tomshardware.com/forum/24660-42-port-free



port not free, under Windows XP

http://www.mail-archive.com/tutor@python.org/msg13516.h...





Free Serial Port Monitor
http://free-serial-port-monitor.hhd-software.qarchive.o...




Release a used port by the application

http://www.technixupdate.com/release-a-used-port-by-the...




Free Up a Serial (COM) Port

http://www.pcguide.com/opt/opt/resCOM-c.html



http://stackoverflow.com/questions/570098/in-c-how-to-c...

cheers..



m
0
l
Anonymous
March 15, 2010 2:47:53 AM

thanks for the reply..when i use serial port monitor the data is coming only on com3. as u said i have tried that also,this solves the problem but data is not coming at that port. so i have set my code to com3 bt same problem as described earlier is coming..now what to do..??
m
0
l
Related resources
!