wppconnect-team / WPP4Delphi

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
205 stars 67 forks source link

Erro de abertura do projeto (mudanca de maquina dev para client) #13

Closed fraurino closed 2 years ago

fraurino commented 2 years ago

causa provável: configuração do path no arquivo ConfTWPPConnect.ini

error: Exception Exception in module WPPConnectDemo.exe at 0058AF44.

solução manual: deletar o arquivo ConfTWPPConnect.ini;

solução direto no componente:

👉🏾 uTWPPConnect.ConfigCEF;

✔️function TCEFConfig.TestaOk(POldValue, PNewValue: String):Boolean;

if not DirectoryExists(LDir) then
**de:** raise Exception.Create(Format(MSG_ExceptPath, [LDir]));
**para:**  deletefile(pwidechar(ExtractFilePath(Application.ExeName) + NomeArquivoIni)) ;
marcelo386 commented 2 years ago

Ajustado pode fazer update dos fontes, obrigado pela contribuição