OnOpenBeforeAttach Event

The port has been opened by third-party serial application before your program calls Attach method.

Syntax

Visual Basic
Sub OnOpenBeforeAttach(pid As Long, Path As String)
Visual C++ (MFC)
void OnOpenBeforeAttach(LONG pid, LPCTSTR Path);

Parameters

pid

PID of the application opened the port.

Path

Full path to the application opened the port.