error MIDL2311 : statements outside library block are illegal in mktyplib compatability mode
2015-11-25 17:56
661 查看
解决办法:
1. Do not use the /mktyplib203 switch unless you have to deal with legacy code dating back to mktyplib ver.2.03.
2. In the .odl file, put the following inside the library block:
#include <olectl.h>
参考资料:
https://social.msdn.microsoft.com/Forums/en-US/5ae2ed97-66cc-4dd8-ad88-4245f93d7628/error-midl2311-statements-outside-library-block-are-illegal-in-mktyplib-compatability-mode?forum=vcgeneral
1. Do not use the /mktyplib203 switch unless you have to deal with legacy code dating back to mktyplib ver.2.03.
2. In the .odl file, put the following inside the library block:
#include <olectl.h>
参考资料:
https://social.msdn.microsoft.com/Forums/en-US/5ae2ed97-66cc-4dd8-ad88-4245f93d7628/error-midl2311-statements-outside-library-block-are-illegal-in-mktyplib-compatability-mode?forum=vcgeneral
相关文章推荐
- 程序员技术练级攻略
- Ubuntu中root用户和user用户的相互切换
- php 错误调试的认知
- Mvc内建功能(DefaultModelBinder)自动绑定。
- KVC setvalue:forkey与setvalue:forkeypath的区别
- iOS开发笔记-cell里点击按钮展开收起-动态改变cell行高
- 腾讯Unity3D手游加密分析
- postgreSQL的安装
- Java 多态性解析
- thinkphp关于在部署环境下增加数据库字段的问题
- UWP Windows10开发获取设备位置(经纬度)
- 企业版打包
- Powercli批量创建删除虚拟机快照
- 黑马程序员——Java基础——集合(三)
- unity3d 游戏加密与解密
- Android页面刷新 (第四周)
- 安国U盘量产后USB损坏恢复工具for win7
- java并发编程学习之内置锁的可重入性
- 疑难杂症之请求被中止: 未能创建 SSL/TLS 安全通道。
- Asp.net MVC @Html.DisplayNameFor中文乱码解决办法