Hi!
I am interested in running mozilla inside my programs process without
displaying browser's UI. Well basically I need just  to obtain an instance
of nsIWebBrowser and  being able to perform navigation and access DOM.
Meanwhile I found only the following way:

1) Block call to StartLayout() function nsHTMLContentSink.cpp in
t:\mozilla\content\html\document\src
2) Init the nsIBaseWindow with a nsNativeWidget (HWND) that is offscreen.

However I am not exited about the "solution" because of the following
(correct me if I am wrong)
1) The browser still wasting CPU and memory on rendering
2) I still need to take care of HWND (in MSWindows case) and Widgets (in
Linux)

Am I on the right path here? I mean if the embedding API is the answer for
me?
I would REALLY appreciate if some embedding guru's will help me out and I
guess it will be useful for others who need a decent cross platform HTML
parser.

Thanks in advance,
Sergei Lvov
[EMAIL PROTECTED]



Reply via email to