Windows error 0x80040110, -2147221232

Detailed Error Information

CLASS_E_NOAGGREGATION[1]

MessageClass does not support aggregation (or class object is remote)
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode4 (0x004)
NameFACILITY_ITF[2][1]
DescriptionThe source of the error code is COM/OLE Interface management.[2][1]
Error Code272 (0x0110)

Questions

2votes
1answer

Are aggregated objects forced to be an IUnknown reference?

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
c++
visual-studio
com
atl
midl
-1votes
1answer

How to write a DCOM server in C# that you can call remotely?

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
c#
vbscript
dcom
remoteobject

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0