Click here to Skip to main content
15,921,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am getting an error while building COM component:
midl : error MIDL2019 : error accessing type info

As per MSDN, the imported type library is corrupt, invalid, or only partially constructed.

But I am sure that the imported type library is valid.
Suggest.
Posted
Updated 22-Oct-10 8:32am
v2

1 solution

The best you can do is to check it out with the MSIL Disassembler. Try to redo the importing of the library and also check if maybe some other part of your software also uses this type library but isn't recompiled.

http://msdn.microsoft.com/en-us/library/f7dy01k1%28v=VS.80%29.aspx[^]

http://msdn.microsoft.com/en-us/library/tt0cf3sx%28VS.80%29.aspx[^]

http://msdn.microsoft.com/en-us/library/hfzzah2c[^]

http://msdn.microsoft.com/en-us/library/e74a18c4[^]

Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900