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: Adam Megacz <gcj at lists dot megacz dot com>
- Subject: Re: gcj to assist in porting java applet to activex control?
- From: Tom Tromey <tromey at redhat dot com>
- Date: 23 Oct 2001 19:50:41 -0600
- Cc: java at gcc dot gnu dot org
- References: <m3sncb5m1i.fsf@noneofyourbusiness.com>
- Reply-To: tromey at redhat dot com
>>>>> "Adam" == Adam Megacz <gcj@lists.megacz.com> writes:
Adam> Hi. I've got a rather huge Java Applet that I'd like to turn
Adam> into a win32 ActiveX control.
I don't know anything about ActiveX. I know very little about Win32.
Adam> It barely uses anything in the java.* packages -- just a tiny
Adam> bit of AWT (which I'm quite willing to rewrite in C to make
Adam> native Win32 calls), and some standard HTTP GETs over a TCP
Adam> socket (nothing fancy). I'm willing to put a pretty considerable
Adam> amount of effort into this.
libgcj hasn't been fully ported to Windows yet. So I imagine it will
take a considerable effort.
Adam> 1) run my .class files through gcj, targeted to MinGW
First you have to work on the Windows port of gcj and libgcj.
I don't know the current status of this port. I know it is
incomplete. The mailing list archives will have more info.
Adam> Is it possible to create ActiveX (basically COM, AFAIK) DLL's using
Adam> gcj/MinGW? If not, would adding this functionality to gcj be a
Adam> gargantuan undertaking?
No one has ever tried this before. I don't know how much work it will
be. For instance, if ActiveX controls are expected to run in some
arbitrary process, then it might be impossible (I don't know). If
they run as their own processes then I imagine it is doable.
Tom