Michael A. Borisov wrote:
Yes, I use it to get nsIContentViewer and to get and set char encoding.
Maybe there is a "right" way to do that?

There is not, but probably should be.

It's worth filing bugs on embedding APIs missing useful pieces instead of relying on internal functionality that's liable to break any moment...

You are right, but unfortunately I can't wait.

Still file the bugs...

In your code where you do the QI or GetInterface call that returns 0, what is NS_GET_IID(nsIDocShell)? That is, if you do something like this:
...
Output is: '{dc4daea1-b43d-406f-bd62-c2ee879192ad}'.

Hmm.  That's the right value for 1.9.1 (so Firefox 3.5)...

Next step is probably to step into the code and see what's going on. What you're doing should be working.

-Boris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to