View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006725 | JEDI Code Library | JclShell | public | 2021-08-24 10:11 | 2021-08-24 10:11 |
| Reporter | misv | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Product Version | Version 2.5 (Subversion repository/Daily zips) | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0006725: ShellLinkResolve can not handle .lnk files to .app (UWP) | ||||
| Description | If 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 Reproduce | 1) 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 Information | var 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. | ||||
| Tags | No tags attached. | ||||
| Fixed in GIT commit | |||||
| Fixed in SVN revision | |||||
| IDE version | All | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-08-24 10:11 | misv | New Issue |