错误MIDL2019:访问类型信息时出错 [英] Error MIDL2019 : error accessing type info

查看:415
本文介绍了错误MIDL2019:访问类型信息时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

构建COM组件时出现错误:
midl:错误MIDL2019:访问类型信息时发生错误

根据MSDN,导入的类型库已损坏,无效或仅部分构建.

但是我确信导入的类型库是有效的.

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.

推荐答案

最好的办法是使用MSIL反汇编程序进行检查.尝试重做该库的导入,并检查软件的其他部分是否也使用此类型库,但未重新编译.

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 [ ^ ]

祝你好运!
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!


这篇关于错误MIDL2019:访问类型信息时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆