I'm not sure if this is possible but my requirement is this.
On startup, my application swaps COM1 to COMV1, listens to the output interprets the data and passes it through to COM1.
On shutdown, my applications swaps COMV1 back to COM1 so applications can continue to use it as normal.
Thanks for any help, Richard