@lainz,
Thanks again for your prompt reply.
I had already suspected that a full path was needed, but in fact that is not the only problem I am running into. It happens that no parameter is being passed to my application, therefore the expression below:
if ParamCount > 0 then
begin
s := ParamStr(1);
if ExtractFileExt(s) = '.dtz' then LoadFile(s);
end;
always evaluates as False, even if I hardcode the full pathname in the Action property:
FileAssociation1.Action := "C:\Users\mauro\My Documents\Projetos\FreeDELTA\fde.exe" "%1"
Best regards,
I'm trying to figure what happened.
Maybe you did not setup a parameter. All parameters are mandatory. That should be on the wiki as well.
Specially ActionName, that must be 'Open' to work with double click. This is useful as well for default commands like 'Edit' and 'Print'. This must be in english for 'edit', 'open' and 'print', so it can access the right registry entry. But you can customize the translation with ActionText.