We do not work across a machine, but on the same server. Remoting would open an arbitrary port - people could just try to use it. Just keep the level of "publicicty" low - thn you dont have to many problems.
For example, we have some COM objects in there, that we do NOT write into the registry, because we - only use them internally. Internal managed factory method - noone will ever see them, so noone can try to use them. COM, though, is usable from a scripting language through a defined typelib - sadly that is the current standard for publishing a product's api. Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) -----Original Message----- From: Rathna Raj [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 17. April 2002 17:19 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Can I expose a com interface from a running executab le? >> I do not want to use remoting (dont >> want to open a network port), so COM seemed to be natural. If you are working across firewall how will COM(DCOM) be different? You need to open the ports in this case too, right? Why can't you use remoting over HTTP? It's relatively (compare to TCP) slower, but, I guess if you are too specific about not opening the network ports, that's way to go. Rathna Raj T.J. Icode Tel: 5520592/3 -----Original Message----- From: Thomas Tomiczek [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 4:04 PM To: [EMAIL PROTECTED] Subject: [DOTNET] Can I expose a com interface from a running executable? Just a stupid question - I know that this was possible from VB6, just am not sure how to make it in C#. The reason is that we develop one application that needs to be controlled from another application. I do not want to use remoting (dont want to open a network port), so COM seemed to be natural. Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.