WPP4Delphi is an open-source project with the aim of exporting functions from WhatsApp Web for Delphi, which can be used to support the creation of any interaction.
Apache License 2.0
187
stars
62
forks
source link
EAccessViolation 00000024 | TWPPConnect1GetUnReadMessages na linha if Assigned(AMessage.ListResponse.singleSelectReply) #14
try
🔴 if Assigned(AMessage.ListResponse.singleSelectReply) then
begin
selectedRowId := AMessage.ListResponse.singleSelectReply.selectedRowId;
if selectedRowId <> '' then
frameMensagensRecebidas1.memo_unReadMessage.Lines.Add(PChar('selectedRowId: ' + selectedRowId));
end;
except on E: Exception do
end;
ao debugar na nova versão, ocorre o erro abaixo na leitura das mensagens
GExperts Debugger Exception Notification
Project WPPConnectDemo.exe raised exception class EAccessViolation with message 'Access violation at address 00A3A6FF. Read of address 00000024'.
comentando essa funcionando normalmente;
ambiente de desevolvimento
erro ocorre na linha abaixo no modo debug
👉🏽 procedure TfrDemo.TWPPConnect1GetUnReadMessages(const Chats: TChatList);