[Lazarus] CopyFile in Windows

Richard Mace richard.mace at gmail.com
Tue Nov 12 21:37:21 CET 2013


Spot on. Can't believe I missed that.

Thanks


On 11 November 2013 20:48, Luca Olivetti <luca at wetron.es> wrote:

> Al 11/11/13 18:14, En/na J├╝rgen Hestermann ha escrit:
> >
> > 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).
>
> in FileUtil.
> Note that, differently than the windows CopyFile function (which returns
> an error code), FileUtil.CopyFile will throw an exception in case of error.
>
> Bye
>
> --
> Luca Olivetti
> Wetron Automation Technology http://www.wetron.es
> Tel. +34 935883004  Fax +34 935883007
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131112/27bfb7d0/attachment-0003.html>


More information about the Lazarus mailing list