[Mono-list] Active X/Java to Linux question

Jonathan Pryor jonpryor at vt.edu
Wed Jul 8 13:08:17 EDT 2009


On Tue, 2009-07-07 at 11:58 -0700, olumax wrote:
> An active X component application has the capability to convert HTML into an
> image file (e.g JPEG, GIF, BMP etc). This component can be wrapped via JNI,
> making it available in Java source, which can then be compiled into a Java
> class.
> 
> Can MONO be used to port this active X as a java class for execution on the
> Linux platform?

No.  ActiveX is native code that conforms to a specific ABI, aka COM.
It's source code is likely C, C++, VB (not .NET) or Delphi (though of
course any number of other languages can be used to write ActiveX code
as well).

Depending on the language used to write the ActiveX code, it may not be
possible to port the code to Linux.  (For example, I know of no VB
compiler for Linux, so VB-based code is ~impossible to port, afaik.
Though it may be possible to port the code to VB.NET, and there is a
VB.NET compiler on Linux...)

However, it may be possible to run the ActiveX control unchanged under
Wine on Linux (along with a Windows version of Java, etc. to use the
ActiveX control, also under Wine).

 - Jon




More information about the Mono-list mailing list