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

2006-10-30 Thread Paolo Molaro
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

-- 
-
[EMAIL PROTECTED] debian/rules
[EMAIL PROTECTED] Monkeys do it better
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


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

2006-10-30 Thread Jon Chambers
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,JonathanOn 10/30/06, Paolo Molaro [EMAIL PROTECTED] 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 youneed and he should have a patch ready shortly.lupus---
[EMAIL PROTECTED] debian/rules[EMAIL PROTECTED] Monkeys do it better___
Mono-list maillist-Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


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

2006-10-30 Thread Goldstein, Nachum (Jonathan)



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


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Jon 
ChambersSent: Monday, October 30, 2006 16:57To: 
mono-list@lists.ximian.comSubject: 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 [EMAIL PROTECTED] 
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 youneed and he should have a patch 
  ready 
  shortly.lupus---[EMAIL PROTECTED] 
  debian/rules[EMAIL PROTECTED] 
  Monkeys do it better___ 
  Mono-list maillist-Mono-list@lists.ximian.comhttp://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 [EMAIL PROTECTED] and destroy the original message.***
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


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

2006-10-30 Thread Jon Chambers
I meant this: http://www.mono-project.com/Embedding_MonoOn 10/30/06, Goldstein, Nachum (Jonathan)
 [EMAIL PROTECTED] wrote:




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


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]] On Behalf Of Jon 
ChambersSent: Monday, October 30, 2006 16:57To: 
mono-list@lists.ximian.comSubject: 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 [EMAIL PROTECTED] 
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 youneed and he should have a patch 
  ready 
  shortly.lupus---[EMAIL PROTECTED]
 
  debian/rules[EMAIL PROTECTED] 
  Monkeys do it better___ 
  Mono-list maillist-Mono-list@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 
[EMAIL PROTECTED] and destroy the original message.***



___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


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

2006-10-29 Thread Goldstein, Nachum (Jonathan)
Title: C# COM server in mono?







Does anyone have step-by-step instructions on how to build a COM server in mono, that can be installed on a Windows machine?


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list