Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-05

Error: Identifier not found "FileExistsUTF8"

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Eric Kom

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?

Please how to I resolve this?

Thanks

Reply by email

zeljko
to Eric Kom
Eric Kom wrote 10 lines
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.

zeljko

Reply by email

Mattias Gaertner
to zeljko
Show quoted text 18 lines
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

Reply by email

Eric Kom
to zeljko: Yes Add lazutils package to your project, add LazFileUtils unit instead of FileUtils.…
zeljko wrote 18 lines
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.

Instructed, and work fine.
Thanks

zeljko

Reply by email