[Lazarus] Error: Identifier not found "FileExistsUTF8"

Mattias Gaertner nc-gaertnma at netcologne.de
Mon May 22 10:54:22 CEST 2017


On Mon, 22 May 2017 10:47:49 +0200
zeljko via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

> On 05/22/2017 10:41 AM, Eric Kom via Lazarus wrote:
> > Good day Folks,
> >
> > I got a program that was coded with lazarus 16.x using fpc 2.7.
> >
> > Now I have installed lazarus 1.9 with fpc 3.1.1
> >
> > During compiled process, I receieved an Error: Identifier not found
> > "FileExistsUTF8"
> >
> > The function FileExistsUTF8 in the fileUtil it is depreciated?  
> 
> Yes
> 
> > Please how to I resolve this?  
> 
> Add lazutils package to your project, add LazFileUtils unit instead of 
> FileUtils.

Note: You don't need to add package LazUtils to the project. If your
code used FileExistsUTF8 you already have it directly or indirectly.


Mattias


More information about the Lazarus mailing list