I'm writing an application that communicates with the serial port to control a device. The development environment is on a virtualized Windows 2003 R2 machine hosted on a Windows Vista machine. When I try to map the COM ports through virtual PC so they can be use in the virtual machine, I get the following error right after the machine begins to boot:
There was an error trying to open the following COM port on your physical computer: \.\COM2 Before this port can be connected to your virtual machine you must verify that a device is attached to the port and that it is not being use by another process.
I've tried remapping the serial port to different ports on the virtual machine and also tried changing the port configuration on the host... No dice...
I'm not 100% certain that the serial ports are working correctly, but I'm not sure how to test them short of writing an application to do so. Any help would be much appreciated.
Thanks very much!