RichTextBox in WPF raised InvalidComObjectException in release buildapplication

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.
 
P

Peter Duniho

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top