[Mono-dev] Mono COM support question
joncham at gmail.com
Thu May 15 09:28:35 EDT 2008
On Mon, Mar 3, 2008 at 8:07 AM, Jonathan Pryor <jonpryor at vt.edu> wrote:
> On Mon, 2008-03-03 at 11:58 +0200, Sebi Onofrei wrote:
> > The problem is that now I need to use COM communication. I will have to
> > use Flix Engine from On2 and as I discovered reading
> > their documentation / how-tos, I sorta' need this. (functions like
> > "Type.GetTypeFromProgID("xyz")" for example are not
> > yet implemented)
> Whether this will ever be implemented on Linux is best answered by
> Jonathan Chambers.
It is highly unlikely that this method will ever be supported on Linux, as
this method looks to the Windows registry for a valid ProgID and associated
type. Some sort of extensible solution could be implemented for Linux, but I
see little benefit. This is especially true considering the other
difficulties described below.
> Regardless, it is highly unlikely that the On2 Flix engine will work via
> COM on Linux, so if you need Linux support it won't happen. You would
> instead need to, at minimum, use Win32 Mono hosted on Wine instead of
> Linux Mono, in addition to getting ProgID support within Mono's Win32
> COM support.
> > Can I know when COM support will be added? Or can anyone help me a bit
> > solving this communication? There's this SDK from
> > On2 that I have to use. There is a version for linux of their SDK, but
> > any suggestions about how to solve this the right way will be
> > appreciated.
> If you intend to run on Linux, I would suggest looking at their Linux
> SDK, which in all likelihood is _not_ based on COM.
It sounds like using their Linux SDK is the right way. Note that you could
still expose functionality from the SDK to mono using P/Invoke, embedding,
or COM Interop.
> - Jon
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list