[Mono-list] C# COM server in mono?

Goldstein, Nachum (Jonathan) NGoldstein at nds.com
Mon Oct 30 09:58:47 EST 2006


By 'hosting mono' do you mean embedding it in a C/C++ COM server?

________________________________

From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Jon Chambers
Sent: Monday, October 30, 2006 16:57
To: mono-list at lists.ximian.com
Subject: Re: [Mono-list] C# COM server in mono?


As lupus said, I am working in this area right now and cleaning up a
patch. However, what I currently have does not support exactly what you
are describing. If you run a managed app or host the mono runtime you
will be able to expose managed objects to unmanaged code as a COM
object. 
      However, I currently have no plans of exposing managed objects as
COM servers in a standalone manner (i.e. by calling CoCreateInstance).
Basically, I consider that a luxury not a requirement since mono can be
easily hosted (and it raises a few other questions like which version of
mono to use, what library to expose the COM entry points in, registry
entries, etc). I do think you could easily host mono and expose your own
version of CoCreateInstance to do what you need, if necessary. 

Thanks,
Jonathan


On 10/30/06, Paolo Molaro <lupus at ximian.com> wrote: 

	On 10/29/06 Goldstein, Nachum (Jonathan) wrote:
	> Does anyone have step-by-step instructions on how to build a
COM server
	> in mono, that can be installed on a Windows machine?
	
	The current mono only supports using COM objects, not exposing
managed 
	code as a COM server, AFAIK. Jonathan Chambers is working on
what you
	need and he should have a patch ready shortly.
	
	lupus
	
	--
	
-----------------------------------------------------------------
	lupus at debian.org
debian/rules
	lupus at ximian.com                             Monkeys do it
better
	_______________________________________________ 
	Mono-list maillist  -  Mono-list at lists.ximian.com
	http://lists.ximian.com/mailman/listinfo/mono-list
	


***********************************************************************************
This email message and any attachments thereto are intended only for use by the addressee(s) named above, and may contain legally privileged and/or confidential information. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the postmaster at nds.com and destroy the original message.
***********************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061030/e8f8aee5/attachment.html 


More information about the Mono-list mailing list