Windows error 0x80070582, -2147023486

Detailed Error Information

CLASS_ALREADY_EXISTS[1]

MessageClass already exists.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode7 (0x007)
NameFACILITY_WIN32[2][1]
DescriptionThis region is reserved to map undecorated error codes into HRESULTs.[2][1]
Error Code1410 (0x0582)

This is a Win32 error which has been mapped into an HRESULT. More information may be available in error 0x00000582.

Questions

1vote
1answer

CComPtr CoCreateInstance returns 0x80070582 (Class already exists.)

I have a StartComObjects function called when the user presses the Login button and a StopComObjects function called when the user presses the Cancel button. The StartComObjects function uses CComPtr.CoCreateInstance to create the COM object and sets up some connection points using AfxConnectionAdvise. When the user presses the Cancel button [...] read more
c++
com
atl
smart-pointers

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