How to create a Virtual Com1 port in windows

virtual-serial-portwindows-mobile

I am developing a mobile app to run on a pocketpc. We have a mobile printer and card swipe that uses com1 to send and get info. I'm using the device emulator and want to test without the printer. How do I create a virtual com1 port to right to and read from? I tried com0com but the device emulator will not set that as serial 0.

Best Answer

If the PC has 2 serial ports (USB to serial adapters work well) you can use a null modem from the port shared with the emulator to another on the PC and attach Hyperterminal to it. That would give you the redirect pretty easily.

Related Topic