forcing the comm port close
[Originally posted by andre]
Say I have an "external" program,one I have not written,ÿ that access comm port 2 and I have another program, which I wrote in visual basic, who also wants to access that port. How do I go about forcing the comm port close?
Re:forcing the comm port close
[Originally posted by John Citizen]
From what i am aware, if another program has a comm port open you can not access it or close it.
I would say it is impossible without terminating the other program or rebooting. However i last time i said something couldnt be done i was proven wrong.
I do a lot of comm work and generally if a comm port is open by another program a simple message stating the comm port is in use is all you can do.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center