Page 1 of 1

return value for WriteData() and other write commands

Posted: Fri Jun 10, 2005 3:28 pm
by Lebostein
For example: I can't check the success of execution of WriteData() when my harddisk is full... I have no problem to create a file, when I have few free bytes on my disk. But when I write ab big memory block in this file I have a problem...

Re: return value for WriteData() and other write commands

Posted: Fri Jun 10, 2005 5:01 pm
by horst
Lebostein wrote:For example: I can't check the success of execution of WriteData() when my harddisk is full...
Actually, the function should return the number of bytes written (which can be part of the total size to write).

Posted: Mon Jun 13, 2005 10:48 am
by Lebostein
In 3.94b the function retruns 0 or 1. It's a random number? It means false or true? It's the number of written bytes? Please update the documentation!!!