WIN32 handle error

Issue #5396 new
Chad Scheer created an issue

Win32 handle that was passed to Icon is not valid or is the wrong type.

App: LaunchBox
Version: 11.0
Type: System.ArgumentException
Site: Void .ctor(IntPtr, Boolean)
Source: System.Drawing

at System.Drawing.Icon..ctor(IntPtr handle, Boolean takeOwnership)
at System.Drawing.Icon.FromHandle(IntPtr handle)
at (String )
at Unbroken.LaunchBox.Windows.FileHelper.GetSmallIconFromFile(String filePath)
at (<>c__DisplayClass62_0 )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.ContentViewModelBase.<>c__DisplayClass62_0.<ShowMenu>b__0()
at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass1_0.<Queue>b__0(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()

Recent Log:

1:26:53 PM Exception

Comments (0)

  1. Log in to comment