kzh125 / Publications
Forum
CFilePipe ReadString bug
bool CFilePipe::ReadString( string &value) { //--- check for data if (WaitForRead( sizeof ( int ))) { ResetLastError (); int size= FileReadInteger (m_handle); if ( GetLastError ()== 0 ) { //--- check for data if (WaitForRead(size)) {