ERRO AO TENTAR EXECUTAR APLICACAO
11/05/2016
0
[Warning] rxToolEdit.pas(20): Unit 'FileCtrl' is specific to a platform
[Error] rxDateUtil.pas(366): Undeclared identifier: 'CharInSet'
[Error] rxDateUtil.pas(366): Operator not applicable to this operand type
[Error] rxDateUtil.pas(366): Operator not applicable to this operand type
[Error] rxDateUtil.pas(393): Undeclared identifier: 'CharInSet'
[Error] rxDateUtil.pas(393): Operator not applicable to this operand type
[Error] rxDateUtil.pas(487): Undeclared identifier: 'CharInSet'
[Fatal Error] rxToolEdit.pas(20): Could not compile used unit 'rxDateUtil.pas'
Argos Oliveira
Posts
11/05/2016
Natanael Ferreira
{$IFDEF DELPHI7} //Esta funções existem a partir do Delphi 2009 e foram recriadas para evitar warnings function CharInSet(C: AnsiChar; const CharSet: TSysCharSet): Boolean; overload; function CharInSet(C: WideChar; const CharSet: TSysCharSet): Boolean; overload; {$ENDIF}
Para Delphi 7 adicione DELPHI7 no campo Conditional Defines na aba Directories/Conditionals das opções do projeto.
Este bloco só é compilado se estiver setado DELPHI7 nas opções do projeto.
11/05/2016
Argos Oliveira
11/05/2016
Argos Oliveira
delphi atual, obrigado.
Clique aqui para fazer login e interagir na Comunidade :)