RichTextBox in WPF raised InvalidComObjectException in release buildapplication

  • Thread starter Thread starter Leo
  • Start date Start date
L

Leo

I got InvalidComObjectException on exit on release build application.
If I don't use RichTextBox, I don't see crash. In debug build
application, I also don't see crash. On some release machine, even if
I call CurrentDispather.InvokeShutdown won't eliminate crash.

My main appliation is a unmanaged MFC. The WPF control is embedded in
CView in this MFC application.

Any idea or suggestion? Thanks.
 
Leo said:
I got InvalidComObjectException on exit on release build application.
If I don't use RichTextBox, I don't see crash. In debug build
application, I also don't see crash. On some release machine, even if
I call CurrentDispather.InvokeShutdown won't eliminate crash.

My main appliation is a unmanaged MFC. The WPF control is embedded in
CView in this MFC application.

Any idea or suggestion? Thanks.

How is this question different from that found in your other post? How
are we supposed to suggest a way to fix a crash if you don't even show
us any code, never mind a concise-but-complete code example?

Even for many simple questions, a paragraph or two is insufficient to
provide enough detail to provide a good answer. And based on what
little you've written so far, your question is going to be fairly
complex and involved to solve. Please work harder to provide sufficient
detail for someone to be able to answer the question.

Pete
 
Back
Top