Thank you for the reply. However, this is nowhere near an actionable alternative. COM is messy, ambiguous, and not easy to implement.
I made an attempt, but I am not familiar with mshtml, so I do not even know where to begin. The COM object I get from a call to
c1Editor.GetActiveXInstance()
is unknown to me. I cannot cast it to mshtml.IHTMLDocument, or mshtml.IHTMLDocument2, or anything else that made sense, for that matter.
A more complete example would be appreciated, as the advice thus far doesn’t even get me started.