This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcj to assist in porting java applet to activex control?


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]