Problems using ProfDHTMLEdit, DevExpress and Addictive spell checker



Hi all,

(it's a bit of a story, but please bare with me. In the end I will ask the question: "how can I trace threads being created....")

I have a longlasting problem with using ProfDHTMLEdit, DevExpress components and (maybe) the Addictive spell check component. I have contacted each of the suppliers of the component but none of them have come up with a conclusive answer to my problems. Maybe somebody somewhere can give me some pointers here... This problem is now in my software for about a year or so, so I am really getting desperate here...

The problem is that the ProfDHTMLEdit control (a HTML edit component) receives windows messages after it has been destroyed. I am using the Addictive spell checker for some time now. I am under the impression that the problems increased after introduction of the spell checker. I'm not sure about that though (I did that some time ago), but I thought it would be best to mention here. The problems certainly existed before the introduction of Addict.

Now, I am suspecting that there is some problem with threads being started by some component. DevExpress is looking for some time now at a problem reported by another user (http://www.devexpress.com/Support/Center/p/CB50136.aspx). That problem was linked by them to the problem I reported. I'm not sure they *are* linked though and apparantly they cannot easily solve that reported problem. Of course I am tracing that problem report.

The effects are that I get intermitted exceptions, most of the time at the moment the parent form of my controls is being destroyed. I suspect that the form destroys the ProfDHTMLEdit control, but there still is some thread somewhere that sends messages to the control after it was destroyed. The window object no longer exists and I subsequently get the exceptions.

For the record: I don't create any threads myself. I also have the source of each of the mentioned components.

If this rings *any* bell to anyone, please let me know.

I would also like to know if there is a way that I can trace the creation of threads in my software (even if they are created by third party components) so mabe I can find the source of the problem.

I understand that this is a bit of a cryptic posting, so please ask me for any clarification that you might need.

Thanks for your help,
Bart Roozendaal

.