[Lazarus] CopyFile in Windows
juergen.hestermann at gmx.de
Mon Nov 11 18:14:37 CET 2013
Am 2013-11-11 18:05, schrieb Richard Mace:
> I am getting a compile error in Lazarus 1.0.12 FPC 2.6.2 running on Windows XP:
> Error: Wrong number of parameters specified for call to "CopyFile"When I am using the syntax
> Both SourceFile and DestFile are strings.
> Any ideas, as as far as I can see, at least one of the "CopyFile"s only requires the 2 parameters?
Propably you have included the windows unit
which defines a CopyFile routine with 3 parameters:
So either you remove the windows unit or, if not possible,
you need to fully qualify from which unit you want to call CopyFile (I don't know where it's defined).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus