Virtual Serial Port ActiveX Control - PortOpenAppId Property

The PortOpenAppId property returns PID (Process IDentifier) of application which opened the port, or 0 value if the virtual port is closed.  

LONG PortOpenAppId;