I am trying to implement shared logic using COM aggregation with ATL. I've defined a base class, called CameraBase, that is only available through aggregation. Therefor I've added the aggregateable annotation to it's coclass-declaration. [ uuid(...), aggregatable ] coclass CameraBase { [default] interface ICamera; }; I've also added the DECLARE_ONLY_AGGREGATEABLE [...] read more
Given the following C# server code to start a DCOM server: using System; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.ServiceProcess; using System.Threading; using System.Runtime.InteropServices; namespace Test { // // .NET class, interface exposed through DCOM // // exposed COM interface [GuidAttribute(MyService.guidIMyInterface), ComVisible(true)] public interface IMyInterface { string GetDateTime(string prefix); [...] read more