I am using the eclipse's SWT toolkit to embed mozilla. SWT provides native methods to enable you to access native memory, and calling native methods through virtual table. Currently, I am only working on embed mozilla in windows platform, and in the swt's windows version provide ways to call windows COM/OLE methods. And on windows platform, XPCOM and COM/OLE are compatible. So I can use swt to call XPCOM methods. Also, swt provides way for you to implements COM object in java, so I use the same machanism to implement XPCOM objects in java.
This approach require the XPCOM virtual table must have fixed binary layout, same as COM/OLE. I don't know whether this approach is portable to Linux or other platform, since I have little experience with that. And I remember I read from somewhere saying that on Linux, the GCC virtual table layout changed several times.
I think in my old posting to the newsgroup I have some more description.
jml
Michael Remme wrote:
Hi jms, through several postings from you i saw, that you busy with nearly the same problems than me, at that time. ( we had very short contact with the about:blank) Me, too, i have to produce an embedded solution. At that time i am stacked with the webclient on linux. In my mind the documentation is not very good, even compilation on linux, which i seem to need doesn't work.I saw, that you started with an own implementation, i guess, because of similar problems. I wanted to ask you, which way you choosed. Is it the general embedding-theme with gecko? Can you give me some hints to find a quick entry? Thanks in advance, Michael =========================================================== Michael Remme Gesch�ftsf�hrer BrainT@GS GmbH [EMAIL PROTECTED] Neuhofstr. 48 Tel. : 02161 / 40 64 871 D-41061 M�nchengladbach Fax. : 02161 / 40 64 874 http://www.BrainTags.de Mobil: 0173 / 535 21 37 ____________ Virus checked by G DATA AntiVirusKit Version: AVK 12.0.90 from 11.01.2003 Virus news: www.antiviruslab.com
