This project has moved and is read-only. For the latest updates, please go here.
1

Closed

System.ComponentModel.Win32Exception

description

I found this error in the logs
 
2009-03-04 12:15:35,878 ERROR App - System.ComponentModel.Win32Exception: The system cannot find the file specified
at MS.Win32.UnsafeNativeMethods.RegisterClassEx(WNDCLASSEX_D wc_d)
at MS.Win32.HwndWrapper..ctor(Int32 classStyle, Int32 style, Int32 exStyle, Int32 x, Int32 y, Int32 width, Int32 height, String name, IntPtr parent, HwndWrapperHook[] hooks)
at System.Windows.Interop.HwndSource.Initialize(HwndSourceParameters parameters)
at System.Windows.Interop.HwndSource..ctor(HwndSourceParameters parameters)
at System.Windows.Window.SetTaskbarStatus()
at System.Windows.Window.CreateAllStyle()
at System.Windows.Window.CreateSourceWindowImpl()
at System.Windows.Window.SafeCreateWindow()
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Window.Show()
at BigVisibleCruise2.Views.MessageWindow.Show(String message)
at BigVisibleCruise2.Views.BigVisibleCruiseWindow.ShowMessage(String message)
at BigVisibleCruise2.Views.BigVisibleCruisePresenter.UpdateStatus()
at BigVisibleCruise2.Views.BigVisibleCruisePresenter.<.ctor>b__0(Object sender, EventArgs e)
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter,
Closed Dec 6, 2010 at 5:47 AM by PandaWood
wont fix - hasn't happened again and is covered for

comments

PandaWood wrote May 1, 2009 at 12:35 PM

I've added an exception handler around this, as we don't really care that much, and we certainly need to soldier on