Windows error 0x80131535, -2146233035

Detailed Error Information

COR_E_MARSHALDIRECTIVE[1]

Message"Invalid marshaling directives."
Comment The marshaling directives are invalid.

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode19 (0x013)
NameFACILITY_URT[2][3]
DescriptionThe source of the error code is .NET CLR.[2][3]
Error Code5429 (0x1535)

Questions

0votes
0answers

How to use a 3rd party DLL in c#

I have a 3rd party DLL that I need to use in a c# application (.net 4.6.1). This is a 64 bit DLL, but I have a 32 bit version as well. The DLL is used successfully in vba (excel 64 bit) as follows: Declaration: Private Declare PtrSafe Function TheFunction [...] read more
c#
excel
vba
dll

Comments

Leave a comment

(plain text only)

Sources

  1. https://github.com/dotnet/coreclr/blob/v1.1.0/src/inc/corerror.xml
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  3. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0