1.  argument to type "char *"is incompatible with parameter of type "LPWSTR"

解决:Project->Properties->Configuration Properties->General->Character set->use Multi-Byte Character Set

2.  'LoadLibraryW' cannot convert parameter 1 from 'const char[]' to 'LPCWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast,C-style cast or function-style case

解决方法:同上

3.  Release编译设置

Project->Properties->Configuration Properties->General->Use of MFC->use MFC in a Static Library

4.  declaration is incompatible with就是在申明函数库那里很多函数标红,显示和定义不符

解决:把头文件位置换一下

5.  出现错误My_lame\My_lame\Release\lame_enc.dll:fatal error LNK1107:invalid or corrupt file:cannot read at 0x278

导致错误的原因:在写将WAV格式视频压缩成MP3格式代码的时候,设置Project->Properties->Configuration Properties->Linker->Input->Additional Dependencies时添加了lame_enc.dll。实际上这一栏是添加LIB文件的。所以不应该改变。

6.  precompiled header file is from a previous version of the compiler,or the precompiler header is c++ and you are using it from c(or vice verse)

导致错误的原因:在编程的原文件夹中加入BladeMP3EncDLL.c及.h  .def文件就好,而在vs2010中右边的Solution Explorer的 header files  source files不需要添加。

最新文章

  1. [LeetCode] Insert Delete GetRandom O(1) 常数时间内插入删除和获得随机数
  2. neo4j初次使用学习简单操作-cypher语言使用
  3. bind原理 附带上自己的一些理解 (引自javascript设计模式和与看法实践)
  4. android HorizontalScrollView
  5. 解决java.lang.NoClassDefFoundError: org/apache/log4j/Level
  6. 基础_ _返回键back
  7. 2.Android之按钮Button和编辑框EditText学习
  8. HDU 4910 Problem about GCD 找规律+大素数判断+分解因子
  9. -(UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
  10. SOCKET 地址
  11. 二叉查找树的查找、插入和删除 - Java实现
  12. ArrayList中元素去重问题
  13. DataGridView 绑定数据后修改列类型
  14. MS-SQL数据库备份方法
  15. 最受欢迎web前端技术总结
  16. ubuntu 15.10 设置静态ip 分配固定ip 设置dns 设置网关 命令行配置ip 固定ip不生效怎么办
  17. Python入门基础之变量和数据类型
  18. Tomcat 9.0 安装配置
  19. perl 读写文件
  20. [转]devm_gpiod_get_optional用法

热门文章

  1. BZOJ-1036 [ZJOI2008]树的统计
  2. co模块总结
  3. WIFI万能钥匙协议分析
  4. [暑假集训--数位dp]hdu3555 Bomb
  5. Java实现一致性Hash算法
  6. hdu 6119 小小粉丝度度熊
  7. 标准C程序设计七---61
  8. 大视野 1016: [JSOI2008]最小生成树计数(最小生成树)
  9. centos 7安装golang1.10
  10. LeetCode OJ--Permutations II