SimpleSerial Test Program from Microsoft
Posted on 2004-09-24
I am using the SimpleSerial Test Program provided by Microsoft and whenever I try to run the executable it creates...it comes up...but when I try to attach to my COM1 port (which is the only one I have on this computer), it says "Access is Denied".
This is a Win2K machine and I'm using Visual C++ 6 to build it. Is there a problem with the hardware abstraction layer denying me access to the port or is the code invalid on Win2K?
I'm trying to use MFC to access the COM ports for a small serial program that I will eventually turn in to a service. I want to be able to make my program...but I'm wondering if I need to use something else to code in. Additionally, I will eventually be going to WinXP.