Ir para conteúdo
  • Cadastre-se

dev botao

ACBrPosPrinter Delphi 10.3.3 VCL Erro na classe TPrinter


  • Este tópico foi criado há 1366 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

  • Membros Pro

Srs,

Estou recebendo erro ao compilar um aplicativo que já estava funcionando.

procedure TACBrDeviceRaw.AcharPortasRAW(const AStringList: TStrings);
var
  PrinterSys: TPrinter;
  i: Integer;
begin
  PrinterSys := Printer;
  if Assigned(PrinterSys) then
    For i := 0 to PrinterSys{$IfNDef FMX}.Printers{$EndIf}.Count-1 do
      AStringList.Add('RAW:'+PrinterSys.Printers{$IfDef FMX}.Title{$EndIf});
end;
 

Esse problema começou a ocorrer após ter resolvido o funcionamento do TPrinter no Delphi 10.3.3 FMX.

Só que esse projeto já estava funcionando em ambiente VCL e nele nada foi alterado.

Devo alterar alguma coisa a partir de agora também no ambiente VCL?

 

 

 

 

Link para o comentário
Compartilhar em outros sites

  • Membros Pro
2 minutos atrás, Juliomar Marchetti disse:

No projeto VCL tu não deixou informado a diretiva FMX?

Juliomar só coloquei FMX no projeto que estou compilando em FireMonkey.

Este com erro é outro que já foi feito em VCL e não vou mudar...

 

4 minutos atrás, Daniel Simoes disse:

Não compreendi... você quer compilar o mesmo projeto em FMX e VCL ?  (isso não seria possível)

Daniel,

São dois projetos diferentes. O VCL já está em produção em alguns lugares. Estou apenas complementando detalhes.

O FMX é um outro projeto que estou experimentando no ambiente FireMonkey.

 

  • Curtir 1
Link para o comentário
Compartilhar em outros sites

  • Membros Pro
1 hora atrás, Daniel Simoes disse:

Qual é exatamente a mensagem do Erro do Projeto em VCL...

na dúvida, Estude os Demos do ACBr

Daniel,

Atualizei o pacote de componentes há pouco para tirar a dúvida.

Abri o Exemplo da pasta

C:\Componentes_Delphi\ACBr\Exemplos\ACBrSerial\ACBrPosPrinter\Delphi

Não mudei nada e tentei compilar.

[dcc32 Error] ACBrDeviceRaw.pas(90): E2003 Undeclared identifier: 'TPrinter'

É o mesmo erro que dá na compilação do meu projeto.

 

 

Link para o comentário
Compartilhar em outros sites

  • Membros Pro
9 horas atrás, Juliomar Marchetti disse:

Bom dia Juliomar,

Vou fazer uma revisão atentando esse detalhe... VCL ou FMX.

Estranho esse problema ter se iniciado após um teste num projeto Firemonkey.

Parece ter causado uma mudança de comportamento em relação aos projetos VCL.

 

 

 

Link para o comentário
Compartilhar em outros sites

  • Membros Pro
12 horas atrás, Daniel Simoes disse:

Por favor rode novamente o Instalador do ACBr... e marque a opção de Remover as instalações anteriores 

Olá Daniel,

Tentei a reinstalação dos componentes com a opção de remover as anteriores mas aparece erro também na instalação...

Abaixo o trecho final do Log de instalação. Tentei outra instalação a partir de uma nova pasta mas também dá erro.

C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(90) Error: E2003 Undeclared identifier: 'TPrinter'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(93) Error: E2003 Undeclared identifier: 'Printer'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(94) Error: E2008 Incompatible types
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(95) Error: E2029 'DO' expected but identifier 'Printers' found
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(122) Error: E2003 Undeclared identifier: 'Printer'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(122) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(152) Error: E2003 Undeclared identifier: 'Printer'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(152) Error: E2029 ')' expected but identifier 'Printers' found
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(154) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(196) Error: E2003 Undeclared identifier: 'Printer'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(199) Error: E2029 'THEN' expected but identifier 'Printers' found
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(244) Error: E2070 Unknown directive: 'TACBrDeviceRaw'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(244) Error: E2029 Declaration expected but '.' found
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(244) Error: E2029 '=' expected but ')' found
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(256) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(307) Error: E2023 Function needs result type
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(307) Error: E2029 Declaration expected but '.' found
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(312) Error: E2018 Record, object or class type required
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(316) Error: E2029 'END' expected but end of file found
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(316) Error: E2029 ';' expected but end of file found
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(50) Error: E2065 Unsatisfied forward or external declaration: 'TACBrDeviceRaw.GetNomeDocumento'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDeviceRaw.pas(55) Error: E2065 Unsatisfied forward or external declaration: 'TACBrDeviceRaw.EnviaString'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSerial\ACBrDevice.pas(2345) Fatal: F2063 Could not compile used unit 'ACBrDeviceRaw.pas'
Compilation failure
Erro ao compilar o pacote "ACBr_Serial.dpk".
Abortando... Ocorreram erros na compilação dos pacotes.
 

Link para o comentário
Compartilhar em outros sites

  • Fundadores

Verifique se seu ACBr.inc, foi editado localmente... (se está com sinal de Exclamação, no Windows Explorer)...

Se SIM, apague o mesmo, e baixe novamente pelo SVN...

Consultor SAC ACBr

Daniel Simões de Almeida
O melhor TEF, é com o Projeto ACBr - Clique e Conheça
Ajude o Projeto ACBr crescer - Assine o SAC

Projeto ACBr     Telefone:(15) 2105-0750 WhatsApp(15)99790-2976.

Link para o comentário
Compartilhar em outros sites

  • Membros Pro

Daniel,

Desculpe, mas não consegui achar o arquivo ACBr.inc que vc referiu.

Peguei um post do Regys para desinstalar tudo e começar do zero.

Baixei de novo pelo SVN e tentei nova instalação.

Continua dando erro. Porém, o erro agora faz referência ao Fortes Report.

Meu Delphi é o 10.3.3-Rio. Fiz a desinstalação/reinstalação do Fortes Report pelo Getit Package.

Desinstalei o ACBr de novo pelo roteiro do Regys.

Tentei nova instalação do zero.

Ainda assim recebo erro e não consigo concluir a instalação.

Abaixo o final do Log da instalação. Observe que ainda faz referência ao Fortes.

C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(340) Error: E2003 Undeclared identifier: 'imgLogo'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(340) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(342) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(343) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(344) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(348) Error: E2003 Undeclared identifier: 'paCliche'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(348) Error: E2010 Incompatible types: 'TAlign' and 'TRLControlAlign'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(352) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(352) Error: E2010 Incompatible types: 'TAlign' and 'TRLControlAlign'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(358) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(358) Error: E2010 Incompatible types: 'TAlign' and 'TRLControlAlign'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(359) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(360) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(361) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(361) Error: E2010 Incompatible types: 'TAlign' and 'TRLControlAlign'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(370) Error: E2003 Undeclared identifier: 'imgLogoCanc'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(370) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(372) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(373) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(374) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(378) Error: E2003 Undeclared identifier: 'paClicheCanc'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(378) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(378) Error: E2010 Incompatible types: 'TAlign' and 'TRLControlAlign'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(382) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(382) Error: E2010 Incompatible types: 'TAlign' and 'TRLControlAlign'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(388) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(388) Error: E2010 Incompatible types: 'TAlign' and 'TRLControlAlign'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(389) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(390) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(391) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(391) Error: E2010 Incompatible types: 'TAlign' and 'TRLControlAlign'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(453) Error: E2003 Undeclared identifier: 'pGapObs'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(566) Error: E2003 Undeclared identifier: 'lNomeFantasia'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(566) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(568) Error: E2003 Undeclared identifier: 'lEndereco'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(568) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(581) Error: E2003 Undeclared identifier: 'pSATSerieHora'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(581) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(583) Error: E2003 Undeclared identifier: 'mMsgAppQRCode'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(583) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(584) Error: E2029 'THEN' expected but identifier 'Visible' found
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(600) Error: E2003 Undeclared identifier: 'imgQRCode'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(600) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(603) Error: E2003 Undeclared identifier: 'mSwHouseSite'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(603) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(605) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(608) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(610) Error: E2029 '.' expected but ';' found
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(640) Error: E2003 Undeclared identifier: 'lSequencia'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(640) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(641) Error: E2003 Undeclared identifier: 'lTotalItem'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(641) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(734) Error: E2003 Undeclared identifier: 'lRatAcresSubTot'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(734) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(763) Error: E2003 Undeclared identifier: 'lDeducISSQN'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(763) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(764) Error: E2003 Undeclared identifier: 'lBaseCalcISSQN'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(764) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(801) Error: E2003 Undeclared identifier: 'lTotDescAcresItem'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(801) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(915) Error: E2003 Undeclared identifier: 'lNumSATLateralCanc'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(915) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(916) Error: E2003 Undeclared identifier: 'lDataHoraLateralCanc'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(916) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(933) Error: E2003 Undeclared identifier: 'pTextoLateralCanc2'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(933) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(934) Error: E2029 'THEN' expected but identifier 'Visible' found
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(948) Error: E2070 Unknown directive: 'TACBrSATExtratoFortesFr'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(948) Error: E2029 Declaration expected but '.' found
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(949) Error: E2029 ';' expected but ')' found
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(953) Error: E2003 Undeclared identifier: 'lNumSATCanc'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(953) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(954) Error: E2003 Undeclared identifier: 'lDataHoraCanc'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(954) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(958) Error: E2070 Unknown directive: 'TACBrSATExtratoFortesFr'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(958) Error: E2029 Declaration expected but '.' found
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(959) Error: E2029 ';' expected but ')' found
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(966) Error: E2003 Undeclared identifier: 'lValLei12741'
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(966) Error: E2066 Missing operator or semicolon
C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(970) Fatal: E2226 Compilation terminated; too many errors
Compilation failure
Erro ao compilar o pacote "ACBr_SATExtratoRL.dpk".
Abortando... Ocorreram erros na compilação dos pacotes.
  

Link para o comentário
Compartilhar em outros sites

  • Consultores
36 minutos atrás, benefreitas disse:

Abaixo o final do Log da instalação. Observe que ainda faz referência ao Fortes.

C:\Componentes_Delphi\ACBr\Fontes\ACBrSAT\Extrato\Fortes\ACBrSATExtratoFortesFr.pas(340) Error: E2003 Undeclared identifier: 'imgLogo'

Parece que seu arquivo não está atualizado corretamente. Na linha 340 do arquivo atual não existe essa referência a imgLogo.
Por favor, anexe o arquivo de log da instalação completo.

[]'s

Consultor SAC ACBr

Elton
Profissionalize o ACBr na sua empresa, conheça o ACBr Pro.

Projeto ACBr     Telefone:(15) 2105-0750 WhatsApp(15)99790-2976.

Um engenheiro de Controle de Qualidade(QA) entra num bar. Pede uma cerveja. Pede zero cervejas.
Pede 99999999 cervejas. Pede -1 cervejas. Pede um jacaré. Pede asdfdhklçkh.
Link para o comentário
Compartilhar em outros sites

  • Consultores
1 hora atrás, benefreitas disse:

Olá EMBarbosa,

Obrigado pela atenção e ajuda...

Arquivo de log anexo.

log_Delphi_10.3_Rio_Win32.txt 63 kB · 0 downloads

Realmente parece que o arquivo ACBrSATExtratoFortesFr.pas não está atualizado. Por favor, verifique se está na última revisão do SVN ou se há modificações locais aí na sua máquina.

[]'s

Consultor SAC ACBr

Elton
Profissionalize o ACBr na sua empresa, conheça o ACBr Pro.

Projeto ACBr     Telefone:(15) 2105-0750 WhatsApp(15)99790-2976.

Um engenheiro de Controle de Qualidade(QA) entra num bar. Pede uma cerveja. Pede zero cervejas.
Pede 99999999 cervejas. Pede -1 cervejas. Pede um jacaré. Pede asdfdhklçkh.
Link para o comentário
Compartilhar em outros sites

  • Fundadores

Você baixou em uma nova pasta ?

Apague por completo a pasta do ACBr, baixe novamente, e rode o Instalador, com a opção de remover as instalações anteriores, para remover o vestígio de qualquer DCU ou BPL antigo...

2 horas atrás, benefreitas disse:

Desculpe, mas não consegui achar o arquivo ACBr.inc que vc referiu.

o ACBr.inc está em Fontes\ACBrComum

Use a busca do Windows, para verificar se você não tem alguma outra cópia dele.. Se tiver, remova

Consultor SAC ACBr

Daniel Simões de Almeida
O melhor TEF, é com o Projeto ACBr - Clique e Conheça
Ajude o Projeto ACBr crescer - Assine o SAC

Projeto ACBr     Telefone:(15) 2105-0750 WhatsApp(15)99790-2976.

Link para o comentário
Compartilhar em outros sites

  • Membros Pro

Daniel,

Apaguei a pasta do ACBr, baixei novamente, e rodei o instalador com a opção de remover as instalações anteriores 3 vezes só hoje.

Entre uma e outra, reinstalei outros componentes, tipo Fortes Report, por exemplo.

Mesmo assim, em nenhuma das vezes a instalação chegou até o final.

P.S.-Estou assistindo agora a live de ontem que não pude assistir...

 

Link para o comentário
Compartilhar em outros sites

  • Consultores
15 horas atrás, benefreitas disse:

Apaguei a pasta do ACBr, baixei novamente, e rodei o instalador com a opção de remover as instalações anteriores 3 vezes só hoje.

Você vai precisar fazer a verificação manualmente. Pode ser que algo tenha ficado pra trás.

Em especial confira se o arquivo ACBrSATExtratoFortesFr.pas tem o conteúdo correto na linha mencionada no erro que você postou. Compare o do seu HD com o abaixo:

image.png

15 horas atrás, benefreitas disse:

Entre uma e outra, reinstalei outros componentes, tipo Fortes Report, por exemplo.

Se o Fortes não estiver corretamente instalado, os componentes ACBr baseados nele, não vão instalar mesmo.

  • Curtir 1

[]'s

Consultor SAC ACBr

Elton
Profissionalize o ACBr na sua empresa, conheça o ACBr Pro.

Projeto ACBr     Telefone:(15) 2105-0750 WhatsApp(15)99790-2976.

Um engenheiro de Controle de Qualidade(QA) entra num bar. Pede uma cerveja. Pede zero cervejas.
Pede 99999999 cervejas. Pede -1 cervejas. Pede um jacaré. Pede asdfdhklçkh.
Link para o comentário
Compartilhar em outros sites

  • Fundadores

Apague a sua Unit e rode novamente a atualização pelo SVN...

Lembre-se sempre de fazer o Update no raiz do diretório do ACBr

Veja os vídeos dessa página:
https://projetoacbr.com.br/fontes/

Consultor SAC ACBr

Daniel Simões de Almeida
O melhor TEF, é com o Projeto ACBr - Clique e Conheça
Ajude o Projeto ACBr crescer - Assine o SAC

Projeto ACBr     Telefone:(15) 2105-0750 WhatsApp(15)99790-2976.

Link para o comentário
Compartilhar em outros sites

  • Administradores

Obrigado por reportar.

Fechando. Para novas dúvidas, criar um novo tópico.

Consultora SAC ACBr

Juliana Tamizou

Gerente de Projetos ACBr / Diretora de Marketing AFRAC
Ajude o Projeto ACBr crescer - Seja Pro

Projeto ACBr     Telefone:(15) 2105-0750 WhatsApp(15)99790-2976.  Discord

Projeto ACBr - A maior comunidade Open Source de Automação Comercial do Brasil


Participe de nosso canal no Discord e fique ainda mais próximo da Comunidade !!

Link para o comentário
Compartilhar em outros sites

  • Este tópico foi criado há 1366 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.
Visitante
Este tópico está agora fechado para novas respostas
×
×
  • Criar Novo...

Informação Importante

Colocamos cookies em seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies, caso contrário, assumiremos que você está bem para continuar.

The popup will be closed in 10 segundos...