This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj to assist in porting java applet to activex control?
- To: Jeff Sturm <jsturm at one-point dot com>
- Subject: Re: gcj to assist in porting java applet to activex control?
- From: mgd at swarm dot org (Marcus G. Daniels)
- Date: 25 Oct 2001 10:42:05 -0600
- Cc: Adam Megacz <gcj at lists dot megacz dot com>, java at gcc dot gnu dot org
- References: <Pine.LNX.4.10.10110241846400.7235-100000@mars.deadcafe.org>
>>>>> "JS" == Jeff Sturm <jsturm@one-point.com> writes:
JS> That reminds me... all COM interfaces extend IUnknown, so in order
JS> for a Java class to be COM-invokable it would need to reserve at
JS> least its first three vtable slots for the AddRef, QueryInterface
JS> and Release methods.
JS> I think the gcj frontend could arrange for that on Windows, if
JS> needed.
Also, in Mozilla, the base COM interface is called nsISupports.
If someone investigated making Active X control from Java code using gcj,
it probably would not be much more work to make gcj usable for
building cross-language Mozilla XPCOM interfaces -- interfaces usable
by JavaScript or Python in the browser.