Windows error 0x80040066, -2147221402

Detailed Error Information

DV_E_STGMEDIUM[1]

MessageInvalid STDGMEDIUM structure
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 Code102 (0x0066)

Questions

0votes
1answer

Invalid STDGMEDIUM structure (Exception from HRESULT: 0x80040066 (DV_E_STGMEDIUM)) error

I am writing a program written in C# that interfaces with a Sage Payroll database - essentially an Access database. This uses a Sage library to connect to the database and returns error codes if any occur. I have the program working correctly on 2 machines. When I run it [...] read more
com
com-interop

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