HtmlEditorhttp://www.itwriting.com/phorum/list.php?3
ENMon, 05 Mar 2007 15:42:36 +0000Mon, 05 Mar 2007 15:42:36 +0000HtmlEditorPhorum 5.1.2560Bizarre behaviour with IHTMLChangeSinkhttp://www.itwriting.com/phorum/read.php?3,3532,3532#msg-3532
Clyde Davies
I decided to rewrite my original project in C++/CLI and was making great headway [b]until[/b] I decided to re-implement the change notification code again. I created a class that implemented IHTMLChangeSink and also smart pointer to a change log, rebound it using CreateChangeLog when the document had loaded and, guess what? It doesn't work. The class binds, the methods return S_OK but [b]IHTMLChangeSink::Notify[/b] never fires.

This is weird, considering I had it working from VB.NET fine. I know this behaviour has been mentioned before by others, but has anybody managed to bottom it out yet? What is going on?

I could post the code, but I doubt it would make much sense to anyone who is not versed in C++/CLI and MFC.