Updating
This commit is contained in:
@@ -82,7 +82,7 @@ bool FileIO::read(DWORD &value)
|
||||
|
||||
bool FileIO::read(char *lpBuffer,DWORD lengthData)
|
||||
{
|
||||
BYTE byteValue;
|
||||
BYTE byteValue(0);
|
||||
|
||||
if(!isOkay()||!lpBuffer)return false;
|
||||
return (1==::fread(lpBuffer,lengthData,1,mlpFilePointer));
|
||||
@@ -190,7 +190,7 @@ bool FileIO::writeLine(const String &strLine)
|
||||
{
|
||||
if(!isOkay()||strLine.isNull())return false;
|
||||
if(!write((char*)(String&)strLine,strLine.length()))return false;
|
||||
return write("\r\n",2);
|
||||
return write((char*)"\r\n",2);
|
||||
}
|
||||
|
||||
bool FileIO::write(char *lpBuffer,DWORD lengthData)
|
||||
|
||||
Reference in New Issue
Block a user