View Issue Details

IDProjectCategoryView StatusLast Update
0006725JEDI Code LibraryJclShellpublic2021-08-24 10:11
ReportermisvAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product VersionVersion 2.5 (Subversion repository/Daily zips) 
Target VersionFixed in Version 
Summary0006725: ShellLinkResolve can not handle .lnk files to .app (UWP)
DescriptionIf I take an UWP app (e.g. netflix) and drag it to Windows creating a .lnk file.

If I try open this with ShellLinkResolve all data returned is empty.

Steps To Reproduce1) In Windows 10 download netflix in windows store
2) drag shortcut to desktop or similar. This created a .lnk file to UWP .app file
3) try open it with ShellLinkReolve - all data returned is empty
Additional Informationvar
  B: Boolean;
  TempStr_FileExt: string;
  TempStr_FullPath: string;
  TempStr_FileArgs: string;
  TempStr_FileName: string;
  TempStr_WorkPath: string;
  TempStr_Caption: string;
  TempShrCt: TShellLink;

....

        B := (JclShell.ShellLinkResolve(FullPath, TempShrCt) = S_OK);
        if B then
          begin
            TempStr_WorkPath := TempShrCt.WorkingDirectory;
            TempStr_FileArgs := TempShrCt.Arguments;
            TempStr_FullPath := TempShrCt.Target;
            TempStr_FullPath := PathGetLongName(TempStr_FullPath);
            TempStr_FileExt := ExtractFileExt(TempStr_FullPath);
            TempStr_Caption := msGetFileStrWithNoExt(ExtractFileName(TempStr_FullPath));
          end
        ;
        ShellLinkFree(TempShrCt);





I think it would be great if simply e.g. the same data as supplied when viewing shortcut files in Windows. I can then as the developer recognize what type of file this is and write additional code if need to be.
TagsNo tags attached.
Fixed in GIT commit
Fixed in SVN revision
IDE versionAll

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-08-24 10:11 misv New Issue