A very old bug still exists!
Posted: Sat Apr 07, 2012 8:50 pm
Hi, Artem,
Your great tool still doesn't work with external resources, defined by relative path. I'd recommend at least to add try...except here:
if nSlashPos <> 0 then
begin
strId := WideLeftStr(str, nSlashPos - 1);
try // <<<<<<<<<<<<<<
nId := StrToInt(strId);
except // <<<<<<<<<<<<
nId := 1;
end; // <<<<<<<<<<<<<<
Otherwise a serious crash occurs and my app just hangs with holes instead of FlashPlayerControl windows.
Really you should not convert any user-specified paths like ../../ but just append them to your signature, as is. Then I'll get this path in unchanged form.
It's not so suitable to re-compile flash movie just to embed it into the app resources. If you still support this prohject, then may be you'll add this patch?
Thank you.
Your great tool still doesn't work with external resources, defined by relative path. I'd recommend at least to add try...except here:
if nSlashPos <> 0 then
begin
strId := WideLeftStr(str, nSlashPos - 1);
try // <<<<<<<<<<<<<<
nId := StrToInt(strId);
except // <<<<<<<<<<<<
nId := 1;
end; // <<<<<<<<<<<<<<
Otherwise a serious crash occurs and my app just hangs with holes instead of FlashPlayerControl windows.
Really you should not convert any user-specified paths like ../../ but just append them to your signature, as is. Then I'll get this path in unchanged form.
It's not so suitable to re-compile flash movie just to embed it into the app resources. If you still support this prohject, then may be you'll add this patch?
Thank you.