【发布时间】:2009-10-06 12:13:08
【问题描述】:
我正在将我自己的 Web 浏览器使用 WPF 从 Windows XP 转换为 Windows 7。 当我在 Windows XP 上测试时,它没有错误和异常。 但是我在 Windows 7 上使用 Multi-touch Library 进行转换和测试,我的浏览器发生了未处理的异常。
Source: PresentationCore
Message: An unspecified error occurred on the render thread.
StackTrace:
at System.Windows.Media.MediaContext.**NotifyPartitionIsZombie**(Int32 failureCode)
at System.Windows.Media.MediaContext.NotifyChannelMessage()
at System.Windows.Interop.HwndTarget.HandleMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
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, Delegate catchHandler)
InnerException: null
我想知道错误发生在哪里。该跟踪消息对我来说是垃圾信息。 我已经通过谷歌搜索知道该消息,但我从未找到任何信息。 如何在发生错误的地方获得确切的功能?请告诉我一些事情。
【问题讨论】: