From: Igor R. on 26 May 2010 10:55 Is the subj feasible? More detailed question: I've got a WCF service, which must be accessed from a remote application written in c++. I thought it would be much simple, if all the objects in the service would be accessible as COM objects as well. Thanks.
From: Peter Duniho on 26 May 2010 11:27 Igor R. wrote: > Is the subj feasible? > > More detailed question: I've got a WCF service, which must be accessed > from a remote application written in c++. I thought it would be much > simple, if all the objects in the service would be accessible as COM > objects as well. Yes, you can write a COM server in C#. You'll need to import the COM types (see tlbimp.exe) and register your assembly (see regasm.exe). See ".NET COM interop" for more details. Pete
From: Kevin Stumpf on 26 May 2010 11:29 I had the same problem: Wrote a local .NET COM Server that communicates with the WCF Server by the common .NET build in features. C++ apps only communicate with that COM Server by its public interface. As easy as that. BR, Kevin "Igor R." <igor.rubinov(a)gmail.com> wrote in message news:62f18178-8907-45ea-8952-43057a596fe4(a)o1g2000vbe.googlegroups.com... > Is the subj feasible? > > More detailed question: I've got a WCF service, which must be accessed > from a remote application written in c++. I thought it would be much > simple, if all the objects in the service would be accessible as COM > objects as well. > > Thanks.
From: Igor R. on 26 May 2010 14:58 Thanks for your replies. I know how to make an inproc (dll) COM server in C#. The problem is that when I try to apply regasm to an exe, it says that no types were registered.
From: Kevin Stumpf on 26 May 2010 17:14 Why do you need an application? Is a dll c# COM server not sufficient? That COM Server is nothing more than a COM wrapper for the WCF server. Kevin "Igor R." <igor.rubinov(a)gmail.com> wrote in message news:7a6b96d5-e38b-42af-aeda-627c63b7f952(a)v18g2000vbc.googlegroups.com... > Thanks for your replies. > I know how to make an inproc (dll) COM server in C#. The problem is > that when I try to apply regasm to an exe, it says that no types were > registered.
|
Next
|
Last
Pages: 1 2 Prev: WPF application on Windows XP - first start takes forever Next: Drawing Board (White Board) |