gcj to assist in porting java applet to activex control?

Adam Megacz gcj@lists.megacz.com
Mon Oct 22 15:48:00 GMT 2001


Hi. I've got a rather huge Java Applet that I'd like to turn into a
win32 ActiveX control.
It barely uses anything in the java.* packages -- just a tiny bit of
AWT (which I'm quite willing to rewrite in C to make native Win32
calls), and some standard HTTP GETs over a TCP socket (nothing
fancy). I'm willing to put a pretty considerable amount of effort into
this.
Is this feasible? My first guess at how to do this is to:
1) run my .class files through gcj, targeted to MinGW
2) rewrite the graphics stuff in C, and have the Java code call it
 using JNI/CNI
3) write C code to provide the ActiveX/COM call-ins
4) link together the results of 1, 2, 3 into a single .DLL
Is it possible to create ActiveX (basically COM, AFAIK) DLL's using
gcj/MinGW? If not, would adding this functionality to gcj be a
gargantuan undertaking?
Thanks for any direction you can give me!
 - a


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /