Windows error 0x80004016, -2147467242

Detailed Error Information

CO_E_OLE1DDE_DISABLED[1]

MessageUse of Ole1 services requiring DDE windows is disabled
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[2][1]
DescriptionThe default facility code.[2][1]
Error Code16406 (0x4016)

Questions

1vote
1answer

Invoking OLE in C# using OleCreateFromFile returns 0x800004016 Use of Ole1 services requiring DDE windows is disabled

I am trying to make use of the c# converted code over at this post: Releasing an OLE IStorage file handle in C# In this post, the OP looks to have created a custom class OLE32 which uses pinvoke to declare the IStorage and IOleObject interfaces, as well as the [...] read more
c#
c++
pinvoke
ole

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