Windows error 0x80040001, -2147221503

Detailed Error Information

OLE_E_ADVF[1]

MessageInvalid advise flags
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 Code1 (0x0001)

Questions

1vote
1answer

WithEvents error sinking a COM event that comes from a .NET component

I am attempting to raise an event in .NET and have it picked up through COM by a VBA application. This answer has been quite helpful in getting my events to show up properly in the type library. On the VBA side, everything looks legit. I have an object variable [...] read more
.net
vba
com
vb6
com-interop
1vote
0answers

Direct Access and RSA Authentication

We're having ongoing issues trying to setup DirectAccess with RSA SecureID OTP. On it's own DirectAccess is working great, however after I configure the OTP authentication I can't get my client to connect. I get the prompt for the OTP as expected but when I put in my access code [...] read more
rsa
direct-access
0votes
0answers

C++ Instance of Executable ActiveX fail on 64 bits environment. Error Invalid advise flags

I have an Executable ActiveX component created with VB 6, consumed by an application made with C++ (32bits) that Instantiate it. Everything works fine under win 7, XP, Win 2003 32 bits, but when I run under Windows 7 or windows 2012 64 bits I got “-2147221503 (0x80040001) Invalid advise [...] read more
c++
vb6
com+
activex-exe
0votes
1answer

TaskDialogIndirect is returning an unusual error code

I'm using TaskDialogIndirect to display prompts to the user. Normally this works just fine, but sometimes, after the program has been running for a while, it begins returning an error code that the MSDN entry does not list as being one of the error codes this function can return. 0x80040001 [...] read more
c++
winapi

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