_TypePtr error

来源:互联网 发布:天猫男鞋推荐 知乎 编辑:程序博客网 时间:2024/04/28 17:15

After importing a managed class's tlb in an unmanaged C++ application, you've a good chance to get several compling errors about _TypePtr.

To work around this issue, You’ll need to add the path to mscorlib.tlb to %PATH%, or just copy it to the current directory. Type library dependencies are only resolved in the %PATH% including current directory, which is why mscorlib.tlb is not found.

原创粉丝点击