Allow port open for communication application.
| Visual Basic | Sub AllowPortOpen()
|
|---|---|
| Delphi | procedure AllowPortOpen();
|
| Visual C++ (MFC) | void AllowPortOpen();
|
| Visual C++ (#import) | void AllowPortOpen();
|
None.
The method may throw exception. Use GetLastError method to get the error code.
This method should be called in OnQueryOpen event handler in order to allow communication application to open virtual serial port.