Forum > LazUtils
FileUtil not found
(1/1)
Peterkl:
Hello guys,
I'm trying to write a simple command line program, I need to copy files, and I really want to use copyfile() ; which is in the "Filutil" unit.
The compiler cannot find the filutil unit which should included in the main package. I know I maybe have to update my fpc, but I do not know how to do it and I can't find guides on the internet.
Do you actually know how to solve this problem or how to update the fpc package ?
Thanks in advance :)
balazsszekely:
1. Menu-->Project-->Project Inspector-->Add-->New Requirement-->Package Name-->LazUtils-->Create New Requirement
2. Add fileutil to the uses caluses
Peterkl:
Thank you so much m8, it worked like a charm,
Cheers :)
Navigation
[0] Message Index