jml wrote:
But there is no
"@mozilla.org/embedding/browser/nsWebBrowser;1"
Does compreg.dat in your Mozilla directory contain that @mozilla.org string?

NS_GetMemoryManager.free(ptr)? I tried this, but seemed it do not return NS_OK.
Yeah this is basically the right approach, at least in C++ (don't know about Java, doesn't it do automatic garbage collection?).

This method does not return any value (it's void)... so clearly, it can't return NS_OK :)

3. How can I get the nsIStringService service object?
Do a CreateInstance for the contract id "@mozilla.org/stringService;1"
(I don't know the syntax for this in Java)


(Note that this interface is not frozen, so it may change anytime)


--
Fiat iustitia et pereat mundus.


Reply via email to