[Mono-list] Com Interop

Jonathan Pryor jonpryor at vt.edu
Thu Dec 6 09:41:18 EST 2007


On Thu, 2007-12-06 at 19:30 +1000, Adelle Hartley wrote:
> When i try to use the same DLLs in a C# project in Mono, via COM 
> interop, it works on Windows but not Linux.  Ok, I'm not exactly 
> surprised, but is there some way of getting Mono to instantiate a COM 
> object using wine?

Theoretically, yes.  Currently, no.

The way it _could_ be done is to run a Win32 mono inside Wine.  This
would make Mono use the normal Windows COM support methods and Wine's
COM framework to instantiate and use your DLLs.

The problem is that Mono doesn't currently run inside Wine (unless this
has changed recently).  I don't know why, and I don't think anyone is
currently looking into it.  You might try asking the Wine people why...

 - Jon




More information about the Mono-list mailing list