Windows error 0x8002802C, -2147319764

Detailed Error Information

TYPE_E_AMBIGUOUSNAME[1]

MessageAmbiguous name.
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 Code32812 (0x802c)

Questions

5votes
1answer

What do you do when MIDL can't create a tlb?

I am attempting to create a C# inproc server for sbtsv.idl (it is included with the Windows 8 SDK). Almost every instructions I find tell you to use MIDL to create a .tlb file then tlbimport to create the proxy dll. However, if the IDL does not include a library [...] read more
c#
idl
midl
tlbimp
0votes
0answers

Function pointer typedef only allowed once in MIDL?

Here is a simple test. The function pointer type FN_t appears twice in ITest::Test & ITest::Test2. import "oaidl.idl"; import "ocidl.idl"; typedef void(* FN_t)(); [ uuid(f5d5eb17-45c7-4cce-a176-9ed2e1083d2a), object, local, pointer_default(unique) ] interface ITest : IUnknown { HRESULT Test(FN_t pfn); HRESULT Test2(FN_t pfn); // !error! } [ uuid(04f887d2-7412-497a-8189-72e710484bfa) ] library TestLib { importlib("stdole2.tlb"); [...] read more
c++
visual-c++
com
atl
midl

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