Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
June 2017
Description
Documentation: PathResolve function (MSDN) (listed as deprecated, but still exists in Windows 10).
Would be used for run dialog, shell links resolution, ...
Maybe an example of this would be CORE-12049
Example of output, from direct API calls in an interactive application:
FindFirstFileW(szFile = 'regedit') failed
|
PathFindOnPathW(szFile = 'regedit') failed
|
PathResolve(szFile = 'regedit' ==> 'C:\Windows\system32\regedit.exe') succeeded
|
SearchPathW(szFile = 'regedit') failed
|
GetFullPathNameW(szFile = 'regedit', buffer = 'c:\Users\ReactOS\Desktop\test_SearchPath\test_SearchPath\regedit', fname = 'regedit') succeeded
|
PathResolve is the only API here able to simply resolve a given known executable name to its full path, without any further tricks.
Might be implemented around the SHELL_FindExecutable code.
NOTE: A hackish implementation of PathResolve, named HACKISH_PathResolve, was introduced in shell32/CShellLink.cpp in r73576
Attachments
Issue Links
- is blocked by
-
CORE-18080 OpenOffice \\soffice.exe desktop shortcut is broken (icon not showing up)
- Resolved
-
CORE-18542 Broken shortcuts are created when installing Delphi 7
- Resolved
- relates to
-
CORE-12049 Executing "iexplore" from Run dialog results in ERROR_FILE_NOT_FOUND message
- Resolved
-
CORE-12882 "Win+R fonts" doesn't open the Fonts folder
- Resolved
-
CORE-7158 shell32: Fix some bugs of IShellLink
- Resolved
-
CORE-17659 Implement shell32!PathProcessCommand function
- Untriaged
-
CORE-19493 shell32: Reduce FindExecutable testcase failures
- Resolved