wpf - System.InvalidOperationException: Dispatcher processing has been suspended, but messages are still being processed -
i'm converting mfc app in x64. app has few wpf controls/dialogs. problem have is, few users, displaying wpf control/dialog not work. exception:
system.invalidoperationexception: dispatcher processing has been suspended, messages still being processed. @ system.windows.threading.dispatcher.wndprochook(intptr hwnd, int32 msg, intptr wparam, intptr lparam, boolean& handled) @ ms.win32.hwndwrapper.wndproc(intptr hwnd, int32 msg, intptr wparam, intptr lparam, boolean& handled) @ ms.win32.hwndsubclass.dispatchercallbackoperation(object o) @ system.windows.threading.exceptionwrapper.internalrealcall(delegate callback, object args, int32 numargs) @ ms.internal.threading.exceptionfilterhelper.trycatchwhen(object source, delegate method, object args, int32 numargs, delegate catchhandler) @ system.windows.threading.dispatcher.wrappedinvoke(delegate callback, object args, int32 numargs, delegate catchhandler) @ system.windows.threading.dispatcher.invokeimpl(dispatcherpriority priority, timespan timeout, delegate method, object args, int32 numargs) @ ms.win32.hwndsubclass.subclasswndproc(intptr hwnd, int32 msg, intptr wparam, intptr lparam) @ system.threading.waithandle.waitonenative(safehandle waitablesafehandle, uint32 millisecondstimeout, boolean hasthreadaffinity, boolean exitcontext) @ system.threading.waithandle.internalwaitone(safehandle waitablesafehandle, int64 millisecondstimeout, boolean hasthreadaffinity, boolean exitcontext) @ system.windows.input.penthreadworker.workercreatecontext(intptr hwnd, ipimctablet pimctablet) @ system.windows.input.tabletdevice.createcontext(intptr hwnd, pencontexts contexts) @ system.windows.input.tabletdevicecollection.createcontexts(intptr hwnd, pencontexts contexts) @ system.windows.input.pencontexts.enable() @ system.windows.input.styluslogic.registerhwndforinput(inputmanager inputmanager, presentationsource inputsource) @ system.windows.interop.hwndstylusinputprovider..ctor(hwndsource source) @ system.windows.interop.hwndsource.initialize(hwndsourceparameters parameters) @ system.windows.forms.integration.elementhost.onhandlecreated(eventargs e) @ system.windows.forms.control.wmcreate(message& m) @ system.windows.forms.control.wndproc(message& m) @ system.windows.forms.integration.elementhost.wndproc(message& m) @ system.windows.forms.nativewindow.callback(intptr hwnd, int32 msg, intptr wparam, intptr lparam) the app hangs few seconds , crashes.
has ever had similar problems mfc/wpf in 64bit ?
Comments
Post a Comment