AllowPortOpen Method

Allow port open for communication application.

Syntax

Visual Basic
Sub AllowPortOpen() 
Delphi
procedure AllowPortOpen(); 
Visual C++ (MFC)
void AllowPortOpen();
Visual C++ (#import)
void AllowPortOpen();

Parameters

None.

Errors

The method may throw exception. Use GetLastError method to get the error code.

Remarks

This method should be called in OnQueryOpen event handler in order to allow communication application to open virtual serial port.

See Also

OnQueryOpen