Recent

Author Topic: identifier idents no member "AsAnsiString"  (Read 1835 times)

Weitentaaal

  • Hero Member
  • *****
  • Posts: 516
  • Weitental is a very beautiful garbage depot.
identifier idents no member "AsAnsiString"
« on: November 16, 2021, 08:30:19 am »
Hello Guys,

i Got this Error (See Title)when trying to Start an old project. Is there Something i am missing ? My Co-Worker got the same Version of Lazarus and he can find this Function.

af0815

  • Hero Member
  • *****
  • Posts: 1291
Re: identifier idents no member "AsAnsiString"
« Reply #1 on: November 16, 2021, 08:39:23 am »
Is the FPC Version the same ? Because Lazarus have only a thin wrapper over the code from fpc for the DB functions. So it will be more fpc-centric.
regards
Andreas

Weitentaaal

  • Hero Member
  • *****
  • Posts: 516
  • Weitental is a very beautiful garbage depot.
Re: identifier idents no member "AsAnsiString"
« Reply #2 on: November 16, 2021, 08:44:07 am »
No, noticed now that whe got a different one. I got 3.0.4 and he got 3.2.0

Weitentaaal

  • Hero Member
  • *****
  • Posts: 516
  • Weitental is a very beautiful garbage depot.
Re: identifier idents no member "AsAnsiString"
« Reply #3 on: November 16, 2021, 09:04:28 am »
Updating the Compiler seems to fix the Problem

wp

  • Hero Member
  • *****
  • Posts: 11915
Re: identifier idents no member "AsAnsiString"
« Reply #4 on: November 16, 2021, 10:01:13 am »
Updating the compiler is fine, but you probably could have fixed the issue also by using .AsString rather than .AsAnsiString in the offending code line.

 

TinyPortal © 2005-2018