handle same com port over 2 apps

By design, in Windows, a serial port can only be opened once. It is an exclusive operating system resource. So, two apps cannot open the same COM port. If you want to use a COM port from 2 apps, you'd need to write some middle-ware that exclusively opens this COM port and then mediates between the two applications to share this resource.