Windows error 0x80028019, -2147319783

Detailed Error Information

TYPE_E_UNSUPFORMAT[1]

MessageOld format or invalid type library.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode2 (0x002)
NameFACILITY_DISPATCH[2][1]
DescriptionThe source of the error code is a COM Dispatch.[2][1]
Error Code32793 (0x8019)

Questions

5votes
1answer

Tridion 2009 Template Publishing Failure

We've just started getting some errors when trying to publish pages (.NET) - in Tridion 2009. It started off with intermittent, classic "RenderComponentPresentation exceeded maximum number of render failures 0" errors, and then progressed to complete failure. We can preview the pages correctly, so I'm loathe to believe it's anything [...] read more
tridion
1vote
2answers

Marshalling nested struct from C# to C++ DLL

I am trying to call a function from C# to a .DLL written in Borland C++ whose signature is: extern "C" __declspec(dllexport) ls50errortype __stdcall Ls50P2Open(ls50p2apiconfiginfostruct &configinfo); The corresponding call in C#: [DllImport("C:\\Lumistar\\LDPS_8x\\Ls50P2_Dll.dll", EntryPoint = "Ls50P2Open", CallingConvention = System.Runtime.InteropServices.CallingConvention.StdCall, CharSet = CharSet.Ansi, SetLastError = true)] public static extern void Ls50P2Open(ref ls50p2apiconfiginfostruct [...] read more
c#
c++
struct
enums
marshalling
0votes
0answers

Why isn't ICustomMarshaler being called for event delegate?

I'm struggling with ICustomMarshaler, and I can't find anyone else who is having this problem. The fact that I've been looking for an answer for days, and I'm finally posting here means that I'll probably find the answer ten minutes from now myself. :-\ I have a C# event being [...] read more
c#
c++
com
interop
com-interop
0votes
1answer

WCF Com Interop GetRecordInfoFromGuids Returns Old Format Or Invalid Type Library

I have a struct in a WCF Service defined in C# as [DataContract] [StructLayout(LayoutKind.Sequential), Serializable] [ComVisible(true)] public struct MyData { [DataMember] public int data1; [DataMember] public string data2; } From a MFC app I am trying to create a SafeArray of this struct. When calling GetRecordInfoFromGuids like this hr = [...] read more
c#
c++
com-interop
safearray
0votes
2answers

Marshaling a SAFEARRAY of Managed Structures by COM Interop

i am trying to pass an array of struct exported from a c# library to c++ code. the objective is to pass SAFEARRAY of struct from c++ to c#. I have followed instructions from http://limbioliong.wordpress.com/2011/07/16/marshaling-a-safearray-of-managed-structures-by-com-interop-part-2/ but getting this error with the call GetRecordInfoFromTypeInfo 0x80028019 Old format or invalid type library. read more
c#
c++
com
safearray

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