The ReadStr method reads a string from virtual serial port input buffer.

BSTR ReadStr(




Return Values : The ReadStr function returns the string received from serial port.

Note: If virtual serial port was not created, the return value is 0 (zero).
Note: symbol with "0" code is the sign of line end, so all the data, which are sending after that symbol will be lost. That is why if your data has symbols with "0" code, please, use Write/WriteArray/Read/ReadArray methods.