Sandesh Sethia wrote:
I was under the impression here that it would work by including the XPCOM
header files itself. Thanks for making me realize my mistake.

Basically the only thing for which including headers suffice is for code in libc or the C++ standard library. For everything else you need to link to something.

BTW I am
creating an application that would use XPCOM components to load a webpage in
a window on Linux platform(can call an embedded appl), so would it be
advisable to link the header files through GRE or against xpcomlib ?

I don't really understand the question, I'm sorry :( What does "through GRE" mean here?

Also, would i need to use XUL to display the page in the browser or using
paint components, through ContentViewerContainer component, to paint the
content on the browser would work as well.

You don't need to use XUL. For your browser UI you can use Gtk as usual.

You may want to use gtkmozembed for embedding mozilla, btw.


--
All the world's a stage,
And all the men and women merely players:
They have their exits and their entrances;
And one man in his time plays many parts, [...]     --W. Shakespeare
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to