Gentlemen, I have this code, it is located in my Form Activate
, so it serves to identify my software that is running, and consequently update it, that is, it is an auto updater.
if servidor = false then //se o servidor estiver conectado
begin
for i := 0 to ParamCount do //contador para verificar os parametros
begin
if vparam[i] <> ExtractFileName(Application.ExeName) then <---Acess Violation aqui!
begin
........
end;
end;
end;
In the comment indicates the line of Acess Violation, could someone tell me why?