Am 10.02.2012 13:31, schrieb Reinier Olislagers:
2. What is the function for "properly" moving files in FPC that also
moves between partitions, if one exists?
What I'd use in those cases:
var
dest, source: TFileStream;
begin
dest := Nil;
source := TFileStream.Create(aSourceFileName, fmOp
On Fri, 10 Feb 2012, Reinier Olislagers wrote:
On 10-2-2012 13:09, Jonas Maebe wrote:
On 10 Feb 2012, at 12:19, Reinier Olislagers wrote:
Trying to move a file (and rename it at the same time):
//ExtractedCompiler is a string variable
//BootstrapCompiler is a string property
//I'm using m
On 10 Feb 2012, at 13:31, Reinier Olislagers wrote:
1. Renaming is not moving???
The help says:
"RenameFile renames a file from OldName to NewName. The function
returns
True if successful, False otherwise. Remark: you cannot rename across
disks or partitions."
What does this mean, then?
If y
In our previous episode, Reinier Olislagers said:
> 1. Renaming is not moving???
> The help says:
> "RenameFile renames a file from OldName to NewName. The function returns
> True if successful, False otherwise. Remark: you cannot rename across
> disks or partitions."
> What does this mean, then?
On 10-2-2012 13:09, Jonas Maebe wrote:
>
> On 10 Feb 2012, at 12:19, Reinier Olislagers wrote:
>
>> Trying to move a file (and rename it at the same time):
>>
>> //ExtractedCompiler is a string variable
>> //BootstrapCompiler is a string property
>> //I'm using my own version of debugln, not impo
On 10 Feb 2012, at 12:19, Reinier Olislagers wrote:
Trying to move a file (and rename it at the same time):
//ExtractedCompiler is a string variable
//BootstrapCompiler is a string property
//I'm using my own version of debugln, not important here
debugln('Going to rename/move ' + ExtractedCom