[Mono-list] Re lated to COM support by mono

Jonathan Pryor jonpryor at vt.edu
Tue Oct 6 10:38:50 EDT 2009


On Mon, 2009-10-05 at 23:03 -0700, Bharti Mishra wrote:
> my appliction is using COM component. As mono material, mono doesn't support
> COM. so we commented out that portion. 
> I would like to know, does mono provide any solution for that.
> or new version of mono is supporting COM component?

As others have mentioned, COM is native code.  Mono has some support for
invoking COM code [0], but you can't take a COM component written for
Windows and run it as-is under Linux (just as you can't take any Windows
app and run it as-is under Linux).

What you might be able to do is install Wine, install Mono for Windows
within Wine, install your COM components within Wine, and see if your
app works that way.  Then everything thinks it's running on Windows, so
it might actually work.

 - Jon

[0] http://www.mono-project.com/COM_Interop




More information about the Mono-list mailing list