I am fairly new to COM, but have been using C# for quite a while. What I am
looking at doing is to create a DCOM Server for a client which is already
written.
I have all the interfaces required, my question is how do I create these
within C#?
For example, I am required to implement the
IConnectionPointContainer::EnumConnectionPoints interface as follows:
HRESULT EnumConnectionPoints(
IEnumConnectionPoints **ppEnum
);
Hows would this be done within C#? I do realise that a CCW wrapper is
applied to the DLL after it is created.
Eric Carlson - 12 Dec 2004 06:25 GMT
Hope you have the .Net Framework SDK. Here is the address of how to create a
.Net Com server:
ms-help://MS.NETFrameworkSDKv1.1/csref/html/vcwlkCOMInteropPart2CServerTutorial.htm
You can plug this into your browser or better, into address bar in .net sdk
doc browser.
Simply said, you need to create a c# interface with a Guid attribute, then
create a class that implements your interface, then register your assembly
(several options here).