whut / jumplist-extender

Automatically exported from code.google.com/p/jumplist-extender
0 stars 0 forks source link

ShellLink sometimes fails to resolve a shortcut #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Don't know how ShellLink ends up failing here. Maybe related to to the
"change AppList.xml, switch every shortcut over!" bug? Anyways, add a
try{}catch{} block here. Fail gracefully.

System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT
E_FAIL has been returned from a call to a COM component.
  at T7ECommon.ShellLink.IShellLinkW.Resolve(IntPtr hWnd, UInt32 fFlags)
  at T7ECommon.ShellLink.Open(String linkFile, IntPtr hWnd,
EShellLinkResolveFlags resolveFlags, UInt16 timeOut)
  at T7ECommon.Common.ResolveLnkPath(String lnkPath)
  at T7EBackground.Primary.AssignAppIdsToShortcuts(String shortcutPath,
Dictionary`2[] changesList)

Original issue reported on code.google.com by mar.mar...@gmail.com on 19 May 2010 at 9:14

GoogleCodeExporter commented 8 years ago

Original comment by mar.mar...@gmail.com on 19 May 2010 at 11:26